mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
[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:
parent
11945f2cf6
commit
5e87cc2ab5
1 changed files with 4 additions and 0 deletions
|
|
@ -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`::
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue