Skip to content

Commit

Permalink
Revert "bpo-46978: Correct docstrings for in-place builtin operators #…
Browse files Browse the repository at this point in the history
…31802) (#102146)

Revert "bpo-46978: Correct docstrings for in-place builtin operators (#31802)"

This reverts commit 128379b.
  • Loading branch information
iritkatriel authored Feb 23, 2023
1 parent 056dfc7 commit 572223f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.

This file was deleted.

2 changes: 1 addition & 1 deletion Objects/typeobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -8564,7 +8564,7 @@ an all-zero entry.
#NAME "($self, /)\n--\n\n" DOC)
#define IBSLOT(NAME, SLOT, FUNCTION, WRAPPER, DOC) \
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) \
ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_l, \
#NAME "($self, value, /)\n--\n\nReturn self" DOC "value.")
Expand Down

0 comments on commit 572223f

Please sign in to comment.