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:
Victor Stinner 2022-04-07 02:29:52 +02:00 committed by GitHub
parent 5c4d1f6e0e
commit 85addfb9c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 17 additions and 33 deletions

View file

@ -1,7 +1,6 @@
#include <stdbool.h>
#include "Python.h"
#include "code.h"
#include "opcode.h"
#include "structmember.h" // PyMemberDef
#include "pycore_code.h" // _PyCodeConstructor