Files
Pyarmor-Static-Unpack-1shot/pycdc/tests/input/test_for_loop_py3.8.py
2025-09-13 14:39:22 +08:00

20 lines
491 B
Python

"""
test_for_loop_3.8.py -- source test
For-loops have changed in python 3.8. The test and PR
(https://github.com/zrax/pycdc/pull/270) add some support.
It also fixes a problem with nested if- and for blocks.
This source is part of the decompyle test suite.
decompyle is a Python byte-code decompiler
See http://www.goebel-consult.de/decompyle/ for download and
for further information
"""
if 1 == 1:
print('block1')
if 1 == 1:
for a in 'foo':
print('block2')
return None