mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
gh-116316: Fix typo in UNARY_FUNC(PyNumber_Positive)
macros (GH-116317)
This commit is contained in:
parent
60743a9a7e
commit
8a84eb75a9
1 changed files with 1 additions and 1 deletions
|
@ -1390,7 +1390,7 @@ _PyNumber_InPlacePowerNoMod(PyObject *lhs, PyObject *rhs)
|
|||
}
|
||||
|
||||
UNARY_FUNC(PyNumber_Negative, nb_negative, __neg__, "unary -")
|
||||
UNARY_FUNC(PyNumber_Positive, nb_positive, __pow__, "unary +")
|
||||
UNARY_FUNC(PyNumber_Positive, nb_positive, __pos__, "unary +")
|
||||
UNARY_FUNC(PyNumber_Invert, nb_invert, __invert__, "unary ~")
|
||||
UNARY_FUNC(PyNumber_Absolute, nb_absolute, __abs__, "abs()")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue