[issue36743] Docs: Descript __get__ signature defined differently across the docs
Raymond Hettinger
report at bugs.python.org
Sun Apr 28 03:12:09 EDT 2019
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
Perhaps the datamodel docs can be clarified to note that callers are allowed to omit the third argument (which usually only makes sense when the second argument is not None). FWIW, section 3.3.2.3 already has an example of a direct call to a __get__ descriptor with only the *obj* argument.
----------
assignee: docs at python -> rhettinger
versions: -Python 2.7, Python 3.5, Python 3.6, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36743>
_______________________________________
More information about the Python-bugs-list
mailing list