mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-91276: make space for longer opcodes in dis output (GH-91444)
This commit is contained in:
parent
f33e2c87a8
commit
e44f988b26
3 changed files with 213 additions and 224 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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue