From d30dedca27308441014e67a4208f37ce43e7d85c Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 30 Mar 2000 15:02:11 +0000 Subject: 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. --- Lib/dis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/dis.py') diff --git a/Lib/dis.py b/Lib/dis.py index 899393d3ac..faea354630 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 -- cgit v1.2.1