]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-119786: add `JUMP_BACKWARD` macro to the Jumps section (#131213)
authorNybblista <170842536+nybblista@users.noreply.github.com>
Sun, 16 Mar 2025 20:04:39 +0000 (23:04 +0300)
committerGitHub <noreply@github.com>
Sun, 16 Mar 2025 20:04:39 +0000 (20:04 +0000)
add JUMP_BACKWARD opcode macro to the Jumps section

JUMP_BACKWARD opcode macro added to the Jumps section in
interpreter.md file at InternalDocs.

InternalDocs/interpreter.md

index 7195d9c6de575cb6a76c6388a4cbc5bc75e3c23b..38e9f6fced60880a621dd6d5383c770877546787 100644 (file)
@@ -112,7 +112,7 @@ already points to the next instruction.
 Thus, jump instructions can be implemented by manipulating `next_instr`:
 
 - A jump forward (`JUMP_FORWARD`) sets `next_instr += oparg`.
-- A jump backward sets `next_instr -= oparg`.
+- A jump backward (`JUMP_BACKWARD`) sets `next_instr -= oparg`.
 
 ## Inline cache entries