diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-07-18 18:42:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-18 18:42:44 (GMT) |
commit | 40f3f11a773b854c6d94746aa3b1881c8ac71b0f (patch) | |
tree | c82e804e0006a9bd35d0b3715afa51bf035ea7db /Doc/library/dis.rst | |
parent | 3535ef1eec2563bbd7bff7c830465441fbbf759e (diff) | |
download | cpython-40f3f11a773b854c6d94746aa3b1881c8ac71b0f.zip cpython-40f3f11a773b854c6d94746aa3b1881c8ac71b0f.tar.gz cpython-40f3f11a773b854c6d94746aa3b1881c8ac71b0f.tar.bz2 |
gh-105481: Generate the opcode lists in dis from data extracted from bytecodes.c (#106758)
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r-- | Doc/library/dis.rst | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 099b641..6beaad3 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -1803,15 +1803,12 @@ instructions: Sequence of bytecodes that access an attribute by name. -.. data:: hasjrel - - Sequence of bytecodes that have a relative jump target. +.. data:: hasjump + Sequence of bytecodes that have a jump target. All jumps + are relative. -.. data:: hasjabs - - Sequence of bytecodes that have an absolute jump target. - + .. versionadded:: 3.13 .. data:: haslocal @@ -1827,3 +1824,20 @@ instructions: Sequence of bytecodes that set an exception handler. .. versionadded:: 3.12 + + +.. data:: hasjrel + + Sequence of bytecodes that have a relative jump target. + + .. deprecated:: 3.13 + All jumps are now relative. Use :data:`hasjump`. + + +.. data:: hasjabs + + Sequence of bytecodes that have an absolute jump target. + + .. deprecated:: 3.13 + All jumps are now relative. This list is empty. + |