https://github.com/python/cpython/commit/a5075cd5bd0307d9c19a0e0d6fcf4b7ad3d5a915
commit: a5075cd5bd0307d9c19a0e0d6fcf4b7ad3d5a915
branch: main
author: Sergey Miryanov <[email protected]>
committer: Eclips4 <[email protected]>
date: 2025-01-27T16:36:09+02:00
summary:

gh-119786: Fix small typo in AST to CFG to bytecode section in compiler.md 
(#129322)

files:
M InternalDocs/compiler.md

diff --git a/InternalDocs/compiler.md b/InternalDocs/compiler.md
index c257bfd9faf78f..8ca19a42b91b83 100644
--- a/InternalDocs/compiler.md
+++ b/InternalDocs/compiler.md
@@ -401,7 +401,7 @@ Emission of bytecode is handled by the following macros:
   add the `LOAD_CONST` opcode with the proper argument based on the
   position of the specified PyObject in the consts table.
 * `ADDOP_LOAD_CONST_NEW(struct compiler *, location, PyObject *)`:
-  just like `ADDOP_LOAD_CONST_NEW`, but steals a reference to PyObject
+  just like `ADDOP_LOAD_CONST`, but steals a reference to PyObject
 * `ADDOP_JUMP(struct compiler *, location, int, basicblock *)`:
   create a jump to a basic block
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to