[docs] [issue36743] Docs: Descript __get__ signature defined differently across the docs

Jeroen Demeyer report at bugs.python.org
Fri May 3 08:42:13 EDT 2019


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

> Perhaps the datamodel docs can be clarified to note that callers are allowed to omit the third argument

That's not true in general, only when __get__ is a slot wrapper (i.e. for classes implemented in C). When __get__ is a Python function, nothing special is done, it's just a Python function.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36743>
_______________________________________


More information about the docs mailing list