Skip to content

Commit

Permalink
pythongh-115816: Generate calls to sym_new_const() etc. without _Py_u…
Browse files Browse the repository at this point in the history
…op prefix (python#116077)

This was left behind by pythonGH-115987. Basically a lot of diffs like this:
```
-            res = _Py_uop_sym_new_unknown(ctx);
+            res = sym_new_unknown(ctx);
```
  • Loading branch information
gvanrossum committed Feb 29, 2024
1 parent 479ac5c commit 86e5e06
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 104 deletions.
4 changes: 2 additions & 2 deletions Lib/test/test_generated_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ def test_overridden_abstract_args(self):
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;
Expand All @@ -925,7 +925,7 @@ def test_no_overridden_case(self):
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;
Expand Down
Loading

0 comments on commit 86e5e06

Please sign in to comment.