diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-10-07 14:10:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 14:10:46 (GMT) |
commit | 245ea1f5007735c2d6e28a84f23e294880e0dec4 (patch) | |
tree | 98a41f0e54d600af12d357a72c3f7a63a71ee5db | |
parent | d7547fc6fbf3397095c1ea5a7ac1b51d22f3f10a (diff) | |
download | cpython-245ea1f5007735c2d6e28a84f23e294880e0dec4.zip cpython-245ea1f5007735c2d6e28a84f23e294880e0dec4.tar.gz cpython-245ea1f5007735c2d6e28a84f23e294880e0dec4.tar.bz2 |
gh-71316: Update dis documentation to include changes to jump arguments (GH-95798)
(cherry picked from commit 6592a62ec2939323b895c85780da7fd73a640da3)
Co-authored-by: Christopher Chianelli <cchianel@redhat.com>
-rw-r--r-- | Doc/library/dis.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index f7989ea..d292592 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 |