mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
bpo-45636: Simplify BINARY_OP (GH-29565)
This commit is contained in:
parent
55868f1a33
commit
6a84d61c55
4 changed files with 51 additions and 83 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue