Files
python-uncompyle6/test/simple_source/looping/12_if_while_true_pass.py
Tim Gates fc38e23d8f docs: fix simple typo, unecessary -> unnecessary
There is a small typo in test/simple_source/looping/12_if_while_true_pass.py.

Should read `unnecessary` rather than `unecessary`.
2020-12-31 18:11:41 +11:00

15 lines
401 B
Python

# Python 3.3 pyclbr.py
# Note that Python 3 adds a lot of unnecessary "continues"
# and puts that in for "pass"
def _readmodule(g, token, path):
for tokentype in g:
if g:
while True:
if token:
token = 1
elif token:
pass
elif tokentype:
token = 7
token = 10