mirror of https://github.com/python/cpython.git
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