Tidy ifelsemstmt check

This commit is contained in:
rocky
2022-08-29 05:29:57 -04:00
parent 200250df56
commit 4260deea11
3 changed files with 16 additions and 6 deletions

View File

@@ -1,3 +1,10 @@
# This is RUNNABLE!
"""This program is self-checking!"""
# Bug was handling if which has EXTENDED_ARG
# See https://github.com/rocky/python-uncompyle6/pull/406
aa = 0
ab = 0
ac = 0
@@ -261,4 +268,5 @@ var = True
if var:
aa = 1
else:
aa = 2
aa = 2
assert aa == 1