Skip to content

Commit 9da0e82

Browse files
committed
pythongh-91276: revert the increase of dis output width
1 parent ad5e852 commit 9da0e82

File tree

2 files changed

+266
-254
lines changed

2 files changed

+266
-254
lines changed

Lib/dis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def show_code(co, *, file=None):
264264
_ExceptionTableEntry = collections.namedtuple("_ExceptionTableEntry",
265265
"start end target depth lasti")
266266

267-
_OPNAME_WIDTH = max(map(len, opmap))
267+
_OPNAME_WIDTH = 20
268268
_OPARG_WIDTH = 5
269269

270270
class Instruction(_Instruction):

0 commit comments

Comments
 (0)