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@python -> 

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31441>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to