summaryrefslogtreecommitdiffstats
path: root/Lib/dis.py
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-05-02 15:51:17 (GMT)
committerGitHub <noreply@github.com>2022-05-02 15:51:17 (GMT)
commit84b986ba10d704394aa36955b00e6106ca25e8ba (patch)
treee37a7f65a4c9041481c06706e4e3c810e4877a66 /Lib/dis.py
parentb9ab6cea0819bd498063f0934cb5bb0bb5a6a2d4 (diff)
downloadcpython-84b986ba10d704394aa36955b00e6106ca25e8ba.zip
cpython-84b986ba10d704394aa36955b00e6106ca25e8ba.tar.gz
cpython-84b986ba10d704394aa36955b00e6106ca25e8ba.tar.bz2
gh-91276: revert the increase of dis output width (GH-92126)
Diffstat (limited to 'Lib/dis.py')
-rw-r--r--Lib/dis.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dis.py b/Lib/dis.py
index 205e9d8..c0e5367 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):