[Python-checkins] gh-71316: Update dis documentation to include changes to jump arguments (GH-95798)
iritkatriel
webhook-mailer at python.org
Fri Oct 7 09:54:31 EDT 2022
https://github.com/python/cpython/commit/6592a62ec2939323b895c85780da7fd73a640da3
commit: 6592a62ec2939323b895c85780da7fd73a640da3
branch: main
author: Christopher Chianelli <cchianel at redhat.com>
committer: iritkatriel <1055913+iritkatriel at users.noreply.github.com>
date: 2022-10-07T14:54:21+01:00
summary:
gh-71316: Update dis documentation to include changes to jump arguments (GH-95798)
files:
M Doc/library/dis.rst
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 30a336197c39..33df7be43634 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -30,6 +30,10 @@ interpreter.
Use 2 bytes for each instruction. Previously the number of bytes varied
by instruction.
+ .. versionchanged:: 3.10
+ The argument of jump, exception handling and loop instructions is now
+ the instruction offset rather than the byte offset.
+
.. versionchanged:: 3.11
Some instructions are accompanied by one or more inline cache entries,
which take the form of :opcode:`CACHE` instructions. These instructions
More information about the Python-checkins
mailing list