mirror of
https://github.com/python/cpython.git
synced 2025-07-10 04:45:36 +00:00
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.
(cherry picked from commit 27b9894033
)
This commit is contained in:
parent
81686e701c
commit
96254a9acd
21 changed files with 61 additions and 28 deletions
|
@ -31,7 +31,7 @@ Data members:
|
|||
#include "pycore_structseq.h" // _PyStructSequence_InitType()
|
||||
#include "pycore_tuple.h" // _PyTuple_FromArray()
|
||||
|
||||
#include "frameobject.h" // PyFrame_GetBack()
|
||||
#include "frameobject.h" // PyFrame_FastToLocalsWithError()
|
||||
#include "pydtrace.h"
|
||||
#include "osdefs.h" // DELIM
|
||||
#include "stdlib_module_names.h" // _Py_stdlib_module_names
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue