summaryrefslogtreecommitdiffstats
path: root/Python/context.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-21 21:27:47 (GMT)
committerGitHub <noreply@github.com>2018-11-21 21:27:47 (GMT)
commitbcda8f1d42a98d9022736dd52d855be8e220fe15 (patch)
treed340839a87b14d84adf04fceb230c0922fef0b6c /Python/context.c
parentaac1f81eef971876ba5b1673db9ce6620311c469 (diff)
downloadcpython-bcda8f1d42a98d9022736dd52d855be8e220fe15.zip
cpython-bcda8f1d42a98d9022736dd52d855be8e220fe15.tar.gz
cpython-bcda8f1d42a98d9022736dd52d855be8e220fe15.tar.bz2
bpo-35081: Add Include/internal/pycore_object.h (GH-10640)
Move _PyObject_GC_TRACK() and _PyObject_GC_UNTRACK() from Include/objimpl.h to Include/internal/pycore_object.h.
Diffstat (limited to 'Python/context.c')
-rw-r--r--Python/context.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Python/context.c b/Python/context.c
index b548ffe..302f769 100644
--- a/Python/context.c
+++ b/Python/context.c
@@ -1,9 +1,10 @@
#include "Python.h"
-#include "structmember.h"
-#include "pycore_pystate.h"
#include "pycore_context.h"
#include "pycore_hamt.h"
+#include "pycore_object.h"
+#include "pycore_pystate.h"
+#include "structmember.h"
#define CONTEXT_FREELIST_MAXLEN 255