From 84b986ba10d704394aa36955b00e6106ca25e8ba Mon Sep 17 00:00:00 2001 From: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Date: Mon, 2 May 2022 09:51:17 -0600 Subject: gh-91276: revert the increase of dis output width (GH-92126) --- Lib/dis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/dis.py') diff --git a/Lib/dis.py b/Lib/dis.py index 205e9d8d19..c0e5367afb 100644 --- a/Lib/dis.py +++ b/Lib/dis.py @@ -264,7 +264,7 @@ _Instruction.positions.__doc__ = "dis.Positions object holding the span of sourc _ExceptionTableEntry = collections.namedtuple("_ExceptionTableEntry", "start end target depth lasti") -_OPNAME_WIDTH = max(map(len, opmap)) +_OPNAME_WIDTH = 20 _OPARG_WIDTH = 5 class Instruction(_Instruction): -- cgit v1.2.1