You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
15 lines
400 B
Python
15 lines
400 B
Python
# Python 3.3 pyclbr.py
|
|
# Note that Python 3 adds a lot of unecessary "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
|