mirror of https://github.com/python/cpython
gh-116316: Fix typo in `UNARY_FUNC(PyNumber_Positive)` macros (GH-116317)
This commit is contained in:
parent
60743a9a7e
commit
8a84eb75a9
|
@ -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…
Reference in New Issue