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