mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
Python settings.__init__ and settings.__repr__
This commit is contained in:
@@ -171,7 +171,7 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
|
|||||||
if isinstance(v, numbers.Integral):
|
if isinstance(v, numbers.Integral):
|
||||||
yield x
|
yield x
|
||||||
|
|
||||||
return "%self(%self)" % (
|
return "%s(%s)" % (
|
||||||
type(self).__name__,
|
type(self).__name__,
|
||||||
(", ".join(map(lambda x: "%s = %r" % (x, self.get(getattr(self, x))), d())))
|
(", ".join(map(lambda x: "%s = %r" % (x, self.get(getattr(self, x))), d())))
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user