diff options
author | Victor Stinner <vstinner@python.org> | 2020-04-14 14:26:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-14 14:26:24 +0200 |
commit | 4a3fe0835310643193ea45529ab0fb45c5f8f2fd (patch) | |
tree | 6d112c3be1763e9185f805d19581347d1fc332ee /Objects/codeobject.c | |
parent | bpo-39481: Make weakref and WeakSet generic (GH-19497) (diff) | |
download | cpython-4a3fe0835310643193ea45529ab0fb45c5f8f2fd.tar.gz cpython-4a3fe0835310643193ea45529ab0fb45c5f8f2fd.tar.bz2 cpython-4a3fe0835310643193ea45529ab0fb45c5f8f2fd.zip |
bpo-40268: Include explicitly pycore_interp.h (GH-19505)
pycore_pystate.h no longer includes pycore_interp.h:
it's now included explicitly in files accessing PyInterpreterState.
Diffstat (limited to 'Objects/codeobject.c')
-rw-r--r-- | Objects/codeobject.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/codeobject.c b/Objects/codeobject.c index 1820d8c8a56..7cb72ceab44 100644 --- a/Objects/codeobject.c +++ b/Objects/codeobject.c @@ -5,7 +5,8 @@ #include "opcode.h" #include "structmember.h" #include "pycore_code.h" -#include "pycore_pystate.h" +#include "pycore_interp.h" // PyInterpreterState.co_extra_freefuncs +#include "pycore_pystate.h" // _PyInterpreterState_GET_UNSAFE() #include "pycore_tupleobject.h" #include "clinic/codeobject.c.h" |