summaryrefslogtreecommitdiffstats
path: root/Doc/library/dis.rst
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2021-09-14 09:09:05 (GMT)
committerGitHub <noreply@github.com>2021-09-14 09:09:05 (GMT)
commitc99fc4e53a60084df88ac5c69b3b13bc033677e1 (patch)
treedec1308bd562dfd578ee29d15d0bb8ea5acb0ac2 /Doc/library/dis.rst
parentc2f1e953371c25f6c42b599ba3d8797effbb503e (diff)
downloadcpython-c99fc4e53a60084df88ac5c69b3b13bc033677e1.zip
cpython-c99fc4e53a60084df88ac5c69b3b13bc033677e1.tar.gz
cpython-c99fc4e53a60084df88ac5c69b3b13bc033677e1.tar.bz2
bpo-45168: change dis output to omit missing values rather than replacing them by their index (GH-28313)
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r--Doc/library/dis.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 2174706..9b68308 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -293,12 +293,13 @@ details of bytecode instructions as :class:`Instruction` instances:
.. data:: argval
- resolved arg value (if known), otherwise same as arg
+ resolved arg value (if any), otherwise ``None``
.. data:: argrepr
- human readable description of operation argument
+ human readable description of operation argument (if any),
+ otherwise an empty string.
.. data:: offset