Closed rytilahti closed 3 years ago
We have one of these for a Variant. All the __repr__
functions should follow the same convention.
https://docs.python.org/3/reference/datamodel.html#object.__repr__
Also make sure to only use this for debugging. I don't want to define an exact value for these in the library contract.
Makes it easier to use a debugger (or print() statements) to explore the introspection data.
<Interface org.freedesktop.ScreenSaver: 10 methods, 1 signals, 0 properties>
<Property doubleClickInterval[PropertyAccess.READWRITE]: i)>
<Method Get([<Arg interface_name[ArgDirection.IN] (s)>, <Arg property_name[ArgDirection.IN] (s)>]) -> [<Arg value[ArgDirection.OUT] (v)>]>