summaryrefslogtreecommitdiff
path: root/Lib/dis.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-05-03 18:09:53 +0000
committerGuido van Rossum <guido@python.org>1999-05-03 18:09:53 +0000
commit6948122f9437c17639d3745c40beafba14922f2e (patch)
tree4bb17aed10edf794d12a1657fd07d551a27a2a35 /Lib/dis.py
parentbfd887bdb77ea2c8fb4d67895d98d8c923135045 (diff)
downloadcpython-6948122f9437c17639d3745c40beafba14922f2e.tar.gz
Clarify why we define disco. Suggested by Andrew Dalke.
Diffstat (limited to 'Lib/dis.py')
-rw-r--r--Lib/dis.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dis.py b/Lib/dis.py
index c997880a69..a03784cff9 100644
--- a/Lib/dis.py
+++ b/Lib/dis.py
@@ -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.