summaryrefslogtreecommitdiffstats
path: root/Lib/dis.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-03-30 15:02:11 (GMT)
committerGuido van Rossum <guido@python.org>2000-03-30 15:02:11 (GMT)
commitd30dedca27308441014e67a4208f37ce43e7d85c (patch)
treeb3c68b6ef4fb667089c2f83b13bc44db561b801a /Lib/dis.py
parentbf45322b3de1f14448db4992e12dd8408e4e740c (diff)
downloadcpython-d30dedca27308441014e67a4208f37ce43e7d85c.zip
cpython-d30dedca27308441014e67a4208f37ce43e7d85c.tar.gz
cpython-d30dedca27308441014e67a4208f37ce43e7d85c.tar.bz2
Michael Hudson: With the (cool!) new call syntax, the longest opcode
name is much longer, which fouls up dis's formatting slightly; this is a "fix" for that.
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 899393d..faea354 100644
--- a/Lib/dis.py
+++ b/Lib/dis.py
@@ -65,7 +65,7 @@ def disassemble(co, lasti=-1):
if i in labels: print '>>',
else: print ' ',
print string.rjust(`i`, 4),
- print string.ljust(opname[op], 15),
+ print string.ljust(opname[op], 20),
i = i+1
if op >= HAVE_ARGUMENT:
oparg = ord(code[i]) + ord(code[i+1])*256