PyDocs

Nav

Python Runtime Services

object.__objclass__

builtins

attribute of object
The attribute __objclass__ is interpreted by the inspect module as specifying the class where this object was defined (setting this appropriately can assist in runtime introspection of dynamic class attributes). For callables, it may indicate that an instance of the given type (or a subclass) is expected or required as the first positional argument (for example, CPython sets this attribute for unbound methods that are implemented in C).
0 Examples
No examples for builtins/object.__objclass__.
See Also
No see-alsos for builtins/object.__objclass__
0 Notes
No notes for object.__objclass__