summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorBrandt Bucher <brandt@python.org>2021-11-16 13:53:57 (GMT)
committerGitHub <noreply@github.com>2021-11-16 13:53:57 (GMT)
commit6a84d61c55f2e543cf5fa84522d8781a795bba33 (patch)
treec4e9a81c004770c45f2bd5d7c6709d3056653941 /Include
parent55868f1a335cd3853938082a5b25cfba66563135 (diff)
downloadcpython-6a84d61c55f2e543cf5fa84522d8781a795bba33.zip
cpython-6a84d61c55f2e543cf5fa84522d8781a795bba33.tar.gz
cpython-6a84d61c55f2e543cf5fa84522d8781a795bba33.tar.bz2
bpo-45636: Simplify BINARY_OP (GH-29565)
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_abstract.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/internal/pycore_abstract.h b/Include/internal/pycore_abstract.h
index b791bf2..b1afb2d 100644
--- a/Include/internal/pycore_abstract.h
+++ b/Include/internal/pycore_abstract.h
@@ -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