[docs] [issue20751] Misleading descriptor protocol documentation: direct call, super binding

Martin Panter report at bugs.python.org
Sat May 20 05:35:51 EDT 2017


Martin Panter added the comment:

Lower-case “a” is defined at the top of the list: “The starting point . . . is ‘a.x’.” The last entry may fit in better if it was written “If binding to an instance of ‘super’ ”.

The problem with the m() call is also mentioned in Issue 25777, about the descriptor how-to.

Issue 12077 seems to be largely about the __get__ signature.

----------
dependencies: +Harmonizing descriptor protocol documentation
nosy: +martin.panter, rhettinger
stage:  -> needs patch
title: Misleading examples in the descriptor protocol documentation -> Misleading descriptor protocol documentation: direct call, super binding
versions: +Python 2.7, Python 3.6, Python 3.7 -Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20751>
_______________________________________


More information about the docs mailing list