Message414876
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." |
|
Date |
User |
Action |
Args |
2022-03-10 19:36:25 | nickovs | set | recipients:
+ nickovs |
2022-03-10 19:36:25 | nickovs | set | messageid: <1646940985.13.0.430689283969.issue46978@roundup.psfhosted.org> |
2022-03-10 19:36:25 | nickovs | link | issue46978 messages |
2022-03-10 19:36:25 | nickovs | create | |
|