You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
remove debug code
This commit is contained in:
@@ -1702,20 +1702,16 @@ class SourceWalker(GenericASTTraversal, object):
|
|||||||
self.prec = p
|
self.prec = p
|
||||||
arg += 1
|
arg += 1
|
||||||
elif typ == 'C':
|
elif typ == 'C':
|
||||||
try:
|
low, high, sep = entry[arg]
|
||||||
low, high, sep = entry[arg]
|
remaining = len(node[low:high])
|
||||||
remaining = len(node[low:high])
|
for subnode in node[low:high]:
|
||||||
for subnode in node[low:high]:
|
self.preorder(subnode)
|
||||||
self.preorder(subnode)
|
remaining -= 1
|
||||||
remaining -= 1
|
if remaining > 0:
|
||||||
if remaining > 0:
|
self.write(sep)
|
||||||
self.write(sep)
|
|
||||||
pass
|
|
||||||
pass
|
pass
|
||||||
arg += 1
|
|
||||||
except:
|
|
||||||
from trepan.api import debug; debug()
|
|
||||||
pass
|
pass
|
||||||
|
arg += 1
|
||||||
elif typ == 'D':
|
elif typ == 'D':
|
||||||
low, high, sep = entry[arg]
|
low, high, sep = entry[arg]
|
||||||
remaining = len(node[low:high])
|
remaining = len(node[low:high])
|
||||||
|
Reference in New Issue
Block a user