[issue31735] Documentation incorrectly states how descriptors are invoked
Paul Pinterits
report at bugs.python.org
Mon Oct 9 12:47:05 EDT 2017
Paul Pinterits <rawing7 at gmail.com> added the comment:
I'm aware that descriptors have to exist on the class in order to work. The point is that the documentation states "If d defines the method __get__(), then d.__get__(obj) is invoked" (where d is obj.d), which is simply not true.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31735>
_______________________________________
More information about the Python-bugs-list
mailing list