A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-October/129502.html below:

[Python-Dev] __objclass__ documentation

[Python-Dev] __objclass__ documentation [Python-Dev] __objclass__ documentationEthan Furman ethan at stoneleaf.us
Sun Oct 13 00:03:49 CEST 2013
It was pointed in Issue16938[1] that __objclass__ is not documented anywhere.

Is the following an appropriate description? (in Doc/reference/datamodel.rst in user-defined functions)



       +-------------------------+-------------------------------+-----------+
       | :attr:`__objclass__`    | The class this object belongs |           |
       |                         | to; useful when the object is |           |
       |                         | a descriptor, or a virtual or |           |
       |                         | dynamic class attribute, and  |           |
       |                         | it's __class__ attribute does |           |
       |                         | not match the class it is     |           |
       |                         | associated with, or it is not |           |
       |                         | in that class' ``__dict__``.  |           |
       +-------------------------+-------------------------------+-----------+


[1] http://bugs.python.org/issue16938

--
~Ethan~
More information about the Python-Dev mailing list

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