diff options
| author | Mark Shannon <mark@hotpy.org> | 2024-02-27 13:25:02 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-27 13:25:02 (GMT) |
| commit | 6ecfcfe8946cf701c6c7018e30ae54d8b7a7ac2a (patch) | |
| tree | 866ef77e88de4f69c85fda6d61a43bc17f1ccd2f /Lib | |
| parent | 10fbcd6c5dc25bfe14e02fd93ef93498a393860c (diff) | |
| download | cpython-6ecfcfe8946cf701c6c7018e30ae54d8b7a7ac2a.zip cpython-6ecfcfe8946cf701c6c7018e30ae54d8b7a7ac2a.tar.gz cpython-6ecfcfe8946cf701c6c7018e30ae54d8b7a7ac2a.tar.bz2 | |
GH-115816: Assorted naming and formatting changes to improve maintainability. (GH-115987)
* Rename _Py_UOpsAbstractInterpContext to _Py_UOpsContext and _Py_UOpsSymType to _Py_UopsSymbol.
* #define shortened form of _Py_uop_... names for improved readability.
Diffstat (limited to 'Lib')
| -rw-r--r-- | Lib/test/test_generated_cases.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/test/test_generated_cases.py b/Lib/test/test_generated_cases.py index 6017758..18bf8ab 100644 --- a/Lib/test/test_generated_cases.py +++ b/Lib/test/test_generated_cases.py @@ -890,8 +890,8 @@ class TestGeneratedAbstractCases(unittest.TestCase): """ output = """ case OP: { - _Py_UOpsSymType *arg1; - _Py_UOpsSymType *out; + _Py_UopsSymbol *arg1; + _Py_UopsSymbol *out; arg1 = stack_pointer[-1]; eggs(); stack_pointer[-1] = out; @@ -899,7 +899,7 @@ class TestGeneratedAbstractCases(unittest.TestCase): } case OP2: { - _Py_UOpsSymType *out; + _Py_UopsSymbol *out; out = _Py_uop_sym_new_unknown(ctx); if (out == NULL) goto out_of_space; stack_pointer[-1] = out; @@ -924,7 +924,7 @@ class TestGeneratedAbstractCases(unittest.TestCase): """ output = """ case OP: { - _Py_UOpsSymType *out; + _Py_UopsSymbol *out; out = _Py_uop_sym_new_unknown(ctx); if (out == NULL) goto out_of_space; stack_pointer[-1] = out; @@ -932,8 +932,8 @@ class TestGeneratedAbstractCases(unittest.TestCase): } case OP2: { - _Py_UOpsSymType *arg1; - _Py_UOpsSymType *out; + _Py_UopsSymbol *arg1; + _Py_UopsSymbol *out; arg1 = stack_pointer[-1]; stack_pointer[-1] = out; break; |
