summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2024-02-29 00:05:53 (GMT)
committerGitHub <noreply@github.com>2024-02-29 00:05:53 (GMT)
commit86e5e063aba76a7f4fc58f7d06b17b0a4730fd8e (patch)
treec05481118366a7abea7bb2531b861ab3d7712622 /Lib
parent479ac5ce8a311c9a5830b96e972478867fcbce61 (diff)
downloadcpython-86e5e063aba76a7f4fc58f7d06b17b0a4730fd8e.zip
cpython-86e5e063aba76a7f4fc58f7d06b17b0a4730fd8e.tar.gz
cpython-86e5e063aba76a7f4fc58f7d06b17b0a4730fd8e.tar.bz2
gh-115816: Generate calls to sym_new_const() etc. without _Py_uop prefix (#116077)
This was left behind by GH-115987. Basically a lot of diffs like this: ``` - res = _Py_uop_sym_new_unknown(ctx); + res = sym_new_unknown(ctx); ```
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_generated_cases.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_generated_cases.py b/Lib/test/test_generated_cases.py
index 18bf8ab..6fcb5d5 100644
--- a/Lib/test/test_generated_cases.py
+++ b/Lib/test/test_generated_cases.py
@@ -900,7 +900,7 @@ class TestGeneratedAbstractCases(unittest.TestCase):
case OP2: {
_Py_UopsSymbol *out;
- out = _Py_uop_sym_new_unknown(ctx);
+ out = sym_new_unknown(ctx);
if (out == NULL) goto out_of_space;
stack_pointer[-1] = out;
break;
@@ -925,7 +925,7 @@ class TestGeneratedAbstractCases(unittest.TestCase):
output = """
case OP: {
_Py_UopsSymbol *out;
- out = _Py_uop_sym_new_unknown(ctx);
+ out = sym_new_unknown(ctx);
if (out == NULL) goto out_of_space;
stack_pointer[-1] = out;
break;