summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-28 23:42:24 (GMT)
committerGitHub <noreply@github.com>2023-08-28 23:42:24 (GMT)
commit0b6a4cb0df28a2698cd2402f988b40309c04b666 (patch)
tree44edc9d7c7c6d7afe723a1e02878d8438e4c388b /Modules
parent0bd2ba553d1cbf4137295dad21fc06e7745ab858 (diff)
downloadcpython-0b6a4cb0df28a2698cd2402f988b40309c04b666.zip
cpython-0b6a4cb0df28a2698cd2402f988b40309c04b666.tar.gz
cpython-0b6a4cb0df28a2698cd2402f988b40309c04b666.tar.bz2
gh-107149: Rename _PyUnstable_GetUnaryIntrinsicName() function (#108441)
* Rename _PyUnstable_GetUnaryIntrinsicName() to PyUnstable_GetUnaryIntrinsicName() * Rename _PyUnstable_GetBinaryIntrinsicName() to PyUnstable_GetBinaryIntrinsicName().
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_opcode.c4
1 files changed, 2 insertions, 2 deletions
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;