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 serhiy.storchaka
Recipients rhettinger, serhiy.storchaka
Date 2021-11-12.07:19:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I think that the code is correct, and the documentation is not complete. As in most (but not all) cases of dunder methods it is looked up in a class, ignoring instance attributes.
Date User Action Args
2021-11-12 07:19:57serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger
2021-11-12 07:19:57serhiy.storchakasetmessageid: <>
2021-11-12 07:19:57serhiy.storchakalinkissue45791 messages
2021-11-12 07:19:57serhiy.storchakacreate