Message401852
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. |
|
Date |
User |
Action |
Args |
2021-09-15 16:33:42 | rhettinger | set | recipients:
+ rhettinger, docs@python, xitop |
2021-09-15 16:33:42 | rhettinger | set | messageid: <1631723622.14.0.499172367813.issue45198@roundup.psfhosted.org> |
2021-09-15 16:33:42 | rhettinger | link | issue45198 messages |
2021-09-15 16:33:42 | rhettinger | create | |
|