Clarify why we define disco. Suggested by Andrew Dalke.

This commit is contained in:
Guido van Rossum 1999-05-03 18:09:53 +00:00
parent 287b3996d5
commit 1cc2b9de35

View File

@ -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.