X Tutup
The Wayback Machine - https://web.archive.org/web/20220620065018/https://github.com/python/cpython/tree/main/Include
Skip to content
main
Switch branches/tags
cpython/Include/
cpython/Include/

Latest commit

Move the follow functions and type from frameobject.h to pyframe.h,
so the standard <Python.h> provide frame getter functions:

* PyFrame_Check()
* PyFrame_GetBack()
* PyFrame_GetBuiltins()
* PyFrame_GetGenerator()
* PyFrame_GetGlobals()
* PyFrame_GetLasti()
* PyFrame_GetLocals()
* PyFrame_Type

Remove #include "frameobject.h" from many C files. It's no longer
needed.
27b9894

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time

The Python C API

The C API is divided into three sections:

  1. Include/: Limited API
  2. Include/cpython/: CPython implementation details
  3. Include/internal/: The internal API

Information on changing the C API is available in the developer guide

X Tutup