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 nickovs
Recipients nickovs
Date 2022-03-10.19:36:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646940985.13.0.430689283969.issue46978@roundup.psfhosted.org>
In-reply-to
Content
Objects/typeobject.c uses slots to implement various operators and the IBSLOT macro is used to define slot entries for in-place binary operators. This macro creates a __doc__ string for the operators of the form "Return self<op>value."

This doc string is misleading since an in-place operator statement can not be used as an L-value, so nothing is "returned".

To fix this, the macro definition for IBSLOT should be updated to use a different word or phrase, such as "Compute self<op>value."
History
Date User Action Args
2022-03-10 19:36:25nickovssetrecipients: + nickovs
2022-03-10 19:36:25nickovssetmessageid: <1646940985.13.0.430689283969.issue46978@roundup.psfhosted.org>
2022-03-10 19:36:25nickovslinkissue46978 messages
2022-03-10 19:36:25nickovscreate