diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2022-04-12 13:35:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-12 13:35:56 (GMT) |
commit | e44f988b26cffedc8fd74c0424ac1fada695688b (patch) | |
tree | 9b9e9634d3c8b242a4d3320a7fd7e12aa3813f21 /Lib/dis.py | |
parent | f33e2c87a83917b5139d97fd8ef7cba7223ebef5 (diff) | |
download | cpython-e44f988b26cffedc8fd74c0424ac1fada695688b.zip cpython-e44f988b26cffedc8fd74c0424ac1fada695688b.tar.gz cpython-e44f988b26cffedc8fd74c0424ac1fada695688b.tar.bz2 |
gh-91276: make space for longer opcodes in dis output (GH-91444)
Diffstat (limited to 'Lib/dis.py')
-rw-r--r-- | Lib/dis.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -245,7 +245,7 @@ _Instruction.positions.__doc__ = "dis.Positions object holding the span of sourc _ExceptionTableEntry = collections.namedtuple("_ExceptionTableEntry", "start end target depth lasti") -_OPNAME_WIDTH = 20 +_OPNAME_WIDTH = max(map(len, opmap)) _OPARG_WIDTH = 5 class Instruction(_Instruction): |