mirror of
https://github.com/python/cpython.git
synced 2024-11-28 20:33:54 +08:00
Clarify why we define disco. Suggested by Andrew Dalke.
This commit is contained in:
parent
287b3996d5
commit
1cc2b9de35
@ -83,7 +83,7 @@ def disassemble(co, lasti=-1):
|
||||
print '(' + cmp_op[oparg] + ')',
|
||||
print
|
||||
|
||||
disco = disassemble
|
||||
disco = disassemble # XXX For backwards compatibility
|
||||
|
||||
def findlabels(code):
|
||||
"""Detect all offsets in a byte code which are jump targets.
|
||||
|
Loading…
Reference in New Issue
Block a user