summaryrefslogtreecommitdiffstats
path: root/Python/intrinsics.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/intrinsics.c')
-rw-r--r--Python/intrinsics.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Python/intrinsics.c b/Python/intrinsics.c
index bbd79ec..d314697 100644
--- a/Python/intrinsics.c
+++ b/Python/intrinsics.c
@@ -5,6 +5,7 @@
#include "pycore_frame.h"
#include "pycore_function.h"
#include "pycore_global_objects.h"
+#include "pycore_compile.h" // _PyCompile_GetUnaryIntrinsicName, etc
#include "pycore_intrinsics.h" // INTRINSIC_PRINT
#include "pycore_pyerrors.h" // _PyErr_SetString()
#include "pycore_runtime.h" // _Py_ID()
@@ -269,7 +270,7 @@ _PyIntrinsics_BinaryFunctions[] = {
#undef INTRINSIC_FUNC_ENTRY
PyObject*
-PyUnstable_GetUnaryIntrinsicName(int index)
+_PyCompile_GetUnaryIntrinsicName(int index)
{
if (index < 0 || index > MAX_INTRINSIC_1) {
return NULL;
@@ -278,7 +279,7 @@ PyUnstable_GetUnaryIntrinsicName(int index)
}
PyObject*
-PyUnstable_GetBinaryIntrinsicName(int index)
+_PyCompile_GetBinaryIntrinsicName(int index)
{
if (index < 0 || index > MAX_INTRINSIC_2) {
return NULL;