[docs] [issue31441] Descriptor example in documentation is confusing, possibly wrong
report at bugs.python.org
Thu Sep 14 02:25:59 EDT 2017
Raymond Hettinger added the comment:
The example should be modernized to show-off the new __set_name__() part of the descriptor protocol. Computing the name on-demand is better that relying an optional user entered alternate name and having to store that name for future reference.
assignee: docs at python ->
Python tracker <report at bugs.python.org>
More information about the docs