Skip to content

Commit

Permalink
pythongh-91276: revert the increase of dis output width
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel committed May 1, 2022
1 parent ad5e852 commit 9da0e82
Show file tree
Hide file tree
Showing 2 changed files with 266 additions and 254 deletions.
2 changes: 1 addition & 1 deletion Lib/dis.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def show_code(co, *, file=None):
_ExceptionTableEntry = collections.namedtuple("_ExceptionTableEntry",
"start end target depth lasti")

_OPNAME_WIDTH = max(map(len, opmap))
_OPNAME_WIDTH = 20
_OPARG_WIDTH = 5

class Instruction(_Instruction):
Expand Down

0 comments on commit 9da0e82

Please sign in to comment.