mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +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):
|
||||
yield x
|
||||
|
||||
return "%self(%self)" % (
|
||||
return "%s(%s)" % (
|
||||
type(self).__name__,
|
||||
(", ".join(map(lambda x: "%s = %r" % (x, self.get(getattr(self, x))), d())))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user