mirror of https://github.com/python/cpython
Revert "bpo-46978: Correct docstrings for in-place builtin operators (#31802)"
This reverts commit 128379b8cd
.
This commit is contained in:
parent
056dfc71dc
commit
572223f9ce
|
@ -1 +0,0 @@
|
||||||
Fixed docstrings for in-place operators of built-in types.
|
|
|
@ -8564,7 +8564,7 @@ an all-zero entry.
|
||||||
#NAME "($self, /)\n--\n\n" DOC)
|
#NAME "($self, /)\n--\n\n" DOC)
|
||||||
#define IBSLOT(NAME, SLOT, FUNCTION, WRAPPER, DOC) \
|
#define IBSLOT(NAME, SLOT, FUNCTION, WRAPPER, DOC) \
|
||||||
ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, \
|
ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, \
|
||||||
#NAME "($self, value, /)\n--\n\nCompute self " DOC " value.")
|
#NAME "($self, value, /)\n--\n\nReturn self" DOC "value.")
|
||||||
#define BINSLOT(NAME, SLOT, FUNCTION, DOC) \
|
#define BINSLOT(NAME, SLOT, FUNCTION, DOC) \
|
||||||
ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_l, \
|
ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_l, \
|
||||||
#NAME "($self, value, /)\n--\n\nReturn self" DOC "value.")
|
#NAME "($self, value, /)\n--\n\nReturn self" DOC "value.")
|
||||||
|
|
Loading…
Reference in New Issue