This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients docs@python, rhettinger, xitop
Date 2021-09-15.16:33:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631723622.14.0.499172367813.issue45198@roundup.psfhosted.org>
In-reply-to
Content
You are correct that __set_name__ works for non-descriptor classes as well.

The docs for it should be moved out of the "Implementing Descriptors" section.  Also, it should have a non-descriptor example.
History
Date User Action Args
2021-09-15 16:33:42rhettingersetrecipients: + rhettinger, docs@python, xitop
2021-09-15 16:33:42rhettingersetmessageid: <1631723622.14.0.499172367813.issue45198@roundup.psfhosted.org>
2021-09-15 16:33:42rhettingerlinkissue45198 messages
2021-09-15 16:33:42rhettingercreate