Nick Coghlan added the comment: Changing the order a bit, perhaps something like this in the data model section:
__objclass__: 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, 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 for unbound methods that are implemented in C rather than being normal Python functions). Perhaps with a cross-reference from the classification function in inspect? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19281> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com