diff options
author | Guido van Rossum <guido@python.org> | 2000-03-30 15:02:11 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-03-30 15:02:11 (GMT) |
commit | d30dedca27308441014e67a4208f37ce43e7d85c (patch) | |
tree | b3c68b6ef4fb667089c2f83b13bc44db561b801a | |
parent | bf45322b3de1f14448db4992e12dd8408e4e740c (diff) | |
download | cpython-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.
-rw-r--r-- | Lib/dis.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |