[issue46978] Doc strings for built-in, in-place operators are misleading

2022-03-10 Thread Nicko van Someren
Change by Nicko van Someren : -- keywords: +patch pull_requests: +29903 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31802 ___ Python tracker <https://bugs.python.org/issu

[issue46978] Doc strings for built-in, in-place operators are misleading

2022-03-10 Thread Nicko van Someren
New submission from Nicko van Someren : 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 selfvalue." This doc