mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-115419: Change default sym to not_null (GH-116562)
This commit is contained in:
parent
fcd49b4f47
commit
617aca9e74
4 changed files with 104 additions and 94 deletions
|
@ -908,7 +908,7 @@ class TestGeneratedAbstractCases(unittest.TestCase):
|
|||
|
||||
case OP2: {
|
||||
_Py_UopsSymbol *out;
|
||||
out = sym_new_unknown(ctx);
|
||||
out = sym_new_not_null(ctx);
|
||||
if (out == NULL) goto out_of_space;
|
||||
stack_pointer[-1] = out;
|
||||
break;
|
||||
|
@ -933,7 +933,7 @@ class TestGeneratedAbstractCases(unittest.TestCase):
|
|||
output = """
|
||||
case OP: {
|
||||
_Py_UopsSymbol *out;
|
||||
out = sym_new_unknown(ctx);
|
||||
out = sym_new_not_null(ctx);
|
||||
if (out == NULL) goto out_of_space;
|
||||
stack_pointer[-1] = out;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue