[3.10] gh-71316: Update dis documentation to include changes to jump arguments (GH-95798). (GH-98029)

(cherry picked from commit 6592a62ec2)

Co-authored-by: Christopher Chianelli <cchianel@redhat.com>
This commit is contained in:
Christopher Chianelli 2022-10-07 10:35:41 -04:00 committed by GitHub
parent 11945f2cf6
commit 5e87cc2ab5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,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.
Example: Given the function :func:`myfunc`::