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 Henry Schreiner
Recipients Henry Schreiner, docs@python
Date 2021-03-09.21:16:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The documentation here: refers to "For example, builtins.complex implements __float__(), therefore it passes an issubclass() check against SupportsFloat. However, the complex.__float__ method exists only to raise a TypeError with a more informative message.".

However, that's not true in Python 3.10 anymore, those methods were thankfully removed. See or for the removal.

This documentation should either say "before Python 3.10, ...", or pick some other example that still is valid. Happy to make the change if I know what direction this should go.
Date User Action Args
2021-03-09 21:16:26Henry Schreinersetrecipients: + Henry Schreiner, docs@python
2021-03-09 21:16:26Henry Schreinersetmessageid: <>
2021-03-09 21:16:26Henry Schreinerlinkissue43453 messages
2021-03-09 21:16:26Henry Schreinercreate