diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2025-04-30 00:21:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-30 00:21:53 (GMT) |
commit | 732d1b02417e91d6a4247879e290065287cc6b51 (patch) | |
tree | dc0569fc581bcc6d26649df341bead9e47cff7a0 /Tools/cases_generator/analyzer.py | |
parent | b329096cfbebb60e0f5c3ea0a300f650d2004200 (diff) | |
download | cpython-732d1b02417e91d6a4247879e290065287cc6b51.zip cpython-732d1b02417e91d6a4247879e290065287cc6b51.tar.gz cpython-732d1b02417e91d6a4247879e290065287cc6b51.tar.bz2 |
Get rid of ERROR_IF's "label" parameter (GH-132654)
Diffstat (limited to 'Tools/cases_generator/analyzer.py')
-rw-r--r-- | Tools/cases_generator/analyzer.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Tools/cases_generator/analyzer.py b/Tools/cases_generator/analyzer.py index dddbf2c..2b3a90c 100644 --- a/Tools/cases_generator/analyzer.py +++ b/Tools/cases_generator/analyzer.py @@ -543,7 +543,6 @@ def tier_variable(node: parser.CodeDef) -> int | None: def has_error_with_pop(op: parser.CodeDef) -> bool: return ( variable_used(op, "ERROR_IF") - or variable_used(op, "pop_1_error") or variable_used(op, "exception_unwind") ) @@ -551,7 +550,6 @@ def has_error_with_pop(op: parser.CodeDef) -> bool: def has_error_without_pop(op: parser.CodeDef) -> bool: return ( variable_used(op, "ERROR_NO_POP") - or variable_used(op, "pop_1_error") or variable_used(op, "exception_unwind") ) |