mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
bpo-35134: Remove the Include/code.h header file (GH-32385)
Remove the Include/code.h header file. C extensions should only include the main <Python.h> header file. Python.h includes directly Include/cpython/code.h instead.
This commit is contained in:
parent
5c4d1f6e0e
commit
85addfb9c6
14 changed files with 17 additions and 33 deletions
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include "Python.h"
|
||||
|
||||
#include "code.h" // PyCode_Addr2Line etc
|
||||
#include "frameobject.h" // PyFrame_GetBack()
|
||||
#include "pycore_ast.h" // asdl_seq_*
|
||||
#include "pycore_call.h" // _PyObject_CallMethodFormat()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue