diff options
Diffstat (limited to 'InternalDocs/compiler.md')
-rw-r--r-- | InternalDocs/compiler.md | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/InternalDocs/compiler.md b/InternalDocs/compiler.md index 37964bd..ed4cfb2 100644 --- a/InternalDocs/compiler.md +++ b/InternalDocs/compiler.md @@ -443,14 +443,12 @@ reference to the source code (filename, etc). All of this is implemented by Code objects ============ -The result of `PyAST_CompileObject()` is a `PyCodeObject` which is defined in +The result of `_PyAST_Compile()` is a `PyCodeObject` which is defined in [Include/cpython/code.h](../Include/cpython/code.h). And with that you now have executable Python bytecode! -The code objects (byte code) are executed in [Python/ceval.c](../Python/ceval.c). -This file will also need a new case statement for the new opcode in the big switch -statement in `_PyEval_EvalFrameDefault()`. - +The code objects (byte code) are executed in `_PyEval_EvalFrameDefault()` +in [Python/ceval.c](../Python/ceval.c). Important files =============== |