summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Include/cpython/compile.h4
-rw-r--r--Modules/_opcode.c4
-rw-r--r--Python/intrinsics.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/Include/cpython/compile.h b/Include/cpython/compile.h
index ae17cef..265f539 100644
--- a/Include/cpython/compile.h
+++ b/Include/cpython/compile.h
@@ -78,5 +78,5 @@ PyAPI_FUNC(int) PyUnstable_OpcodeHasFree(int opcode);
PyAPI_FUNC(int) PyUnstable_OpcodeHasLocal(int opcode);
PyAPI_FUNC(int) PyUnstable_OpcodeHasExc(int opcode);
-PyAPI_FUNC(PyObject*) _PyUnstable_GetUnaryIntrinsicName(int index);
-PyAPI_FUNC(PyObject*) _PyUnstable_GetBinaryIntrinsicName(int index);
+PyAPI_FUNC(PyObject*) PyUnstable_GetUnaryIntrinsicName(int index);
+PyAPI_FUNC(PyObject*) PyUnstable_GetBinaryIntrinsicName(int index);
diff --git a/Modules/_opcode.c b/Modules/_opcode.c
index 3e13dbb..dac9c01 100644
--- a/Modules/_opcode.c
+++ b/Modules/_opcode.c
@@ -310,7 +310,7 @@ _opcode_get_intrinsic1_descs_impl(PyObject *module)
return NULL;
}
for (int i=0; i <= MAX_INTRINSIC_1; i++) {
- PyObject *name = _PyUnstable_GetUnaryIntrinsicName(i);
+ PyObject *name = PyUnstable_GetUnaryIntrinsicName(i);
if (name == NULL) {
Py_DECREF(list);
return NULL;
@@ -337,7 +337,7 @@ _opcode_get_intrinsic2_descs_impl(PyObject *module)
return NULL;
}
for (int i=0; i <= MAX_INTRINSIC_2; i++) {
- PyObject *name = _PyUnstable_GetBinaryIntrinsicName(i);
+ PyObject *name = PyUnstable_GetBinaryIntrinsicName(i);
if (name == NULL) {
Py_DECREF(list);
return NULL;
diff --git a/Python/intrinsics.c b/Python/intrinsics.c
index fefee0f..8e59c63 100644
--- a/Python/intrinsics.c
+++ b/Python/intrinsics.c
@@ -269,7 +269,7 @@ _PyIntrinsics_BinaryFunctions[] = {
#undef INTRINSIC_FUNC_ENTRY
PyObject*
-_PyUnstable_GetUnaryIntrinsicName(int index)
+PyUnstable_GetUnaryIntrinsicName(int index)
{
if (index < 0 || index > MAX_INTRINSIC_1) {
return NULL;
@@ -278,7 +278,7 @@ _PyUnstable_GetUnaryIntrinsicName(int index)
}
PyObject*
-_PyUnstable_GetBinaryIntrinsicName(int index)
+PyUnstable_GetBinaryIntrinsicName(int index)
{
if (index < 0 || index > MAX_INTRINSIC_2) {
return NULL;