[issue19281] add __objclass__ to the docs

Ethan Furman report at bugs.python.org
Tue Oct 22 02:31:35 CEST 2013


Ethan Furman added the comment:

The proposed text is something along the lines of:

__objclass__: 1) Indicates this callable requires an instance of the given type (or a subclass) as its first positional argument; e.g. CPython sets this for unbound methods that are implemented in C rather than Python.  2) The class where this object was defined.

So, any ideas for improvement, and, more importantly, where in the docs should this go?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19281>
_______________________________________


More information about the Python-bugs-list mailing list