Commit d30dedca authored by Guido van Rossum's avatar Guido van Rossum

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.
parent bf45322b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment