Sorry, posted to wrong list the first time. On 04/08/2014 09:33 AM, Ethan Furman wrote: > On 04/08/2014 09:07 AM, yury.selivanov wrote: >> http://hg.python.org/cpython/rev/0973d45197cc > > >> +The :attr:`__objclass__` is interpreted by the :mod:`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). > > This would read better as > > The attribute :attr:`__objclass__` . . . > > -- > ~Ethan~ > > _______________________________________________ > Python-checkins mailing list > Python-checkins at python.org > https://mail.python.org/mailman/listinfo/python-checkins
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4