summaryrefslogtreecommitdiffstats
path: root/Lib/dis.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-05-03 18:09:53 (GMT)
committerGuido van Rossum <guido@python.org>1999-05-03 18:09:53 (GMT)
commit1cc2b9de35a2af2fdfe0bc707b51aae0e64b8160 (patch)
tree0da85719a1f8e6eab5465354f889a3b78f963252 /Lib/dis.py
parent287b3996d54fd6eaf24d10bfb51a1c3728d09486 (diff)
downloadcpython-1cc2b9de35a2af2fdfe0bc707b51aae0e64b8160.zip
cpython-1cc2b9de35a2af2fdfe0bc707b51aae0e64b8160.tar.gz
cpython-1cc2b9de35a2af2fdfe0bc707b51aae0e64b8160.tar.bz2
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 c997880..a03784c 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.