Skip to content

Commit 84b986b

Browse files
authored
gh-91276: revert the increase of dis output width (GH-92126)
1 parent b9ab6ce commit 84b986b

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)