bpo-45636: Simplify BINARY_OP (GH-29565)

This commit is contained in:
Brandt Bucher 2021-11-16 05:53:57 -08:00 committed by GitHub
parent 55868f1a33
commit 6a84d61c55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 51 additions and 83 deletions

View file

@ -16,6 +16,9 @@ _PyIndex_Check(PyObject *obj)
return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
}
PyObject *_PyNumber_PowerNoMod(PyObject *lhs, PyObject *rhs);
PyObject *_PyNumber_InPlacePowerNoMod(PyObject *lhs, PyObject *rhs);
#ifdef __cplusplus
}
#endif