summaryrefslogtreecommitdiff
path: root/Python/context.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-04-14 17:52:15 +0200
committerGitHub <noreply@github.com>2020-04-14 17:52:15 +0200
commite5014be0497d06d78343623588a80f491a6f7b74 (patch)
treea8bbd18a39f6567115adb3089d1d9758c3e4690d /Python/context.c
parente1945307d36849f8be8937144cf3dd6ebab6274c (diff)
downloadcpython-git-e5014be0497d06d78343623588a80f491a6f7b74.tar.gz
bpo-40268: Remove a few pycore_pystate.h includes (GH-19510)
Diffstat (limited to 'Python/context.c')
-rw-r--r--Python/context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/context.c b/Python/context.c
index e0338c97e1..00f25ddab4 100644
--- a/Python/context.c
+++ b/Python/context.c
@@ -1,10 +1,11 @@
#include "Python.h"
#include "pycore_context.h"
+#include "pycore_gc.h" // _PyObject_GC_MAY_BE_TRACKED()
#include "pycore_hamt.h"
#include "pycore_object.h"
#include "pycore_pyerrors.h"
-#include "pycore_pystate.h"
+#include "pycore_pystate.h" // _PyThreadState_GET()
#include "structmember.h"