aboutsummaryrefslogtreecommitdiff
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 /Objects/dictobject.c
parentbpo-40221: Update multiprocessing to use _at_fork_reinit (GH-19477) (diff)
downloadcpython-e5014be0497d06d78343623588a80f491a6f7b74.tar.gz
cpython-e5014be0497d06d78343623588a80f491a6f7b74.tar.bz2
cpython-e5014be0497d06d78343623588a80f491a6f7b74.zip
bpo-40268: Remove a few pycore_pystate.h includes (GH-19510)
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r--Objects/dictobject.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index 60660adf897..8f9d4e7b731 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -111,10 +111,11 @@ converting the dict to the combined table.
#define PyDict_MINSIZE 8
#include "Python.h"
+#include "pycore_gc.h" // _PyObject_GC_IS_TRACKED()
#include "pycore_object.h"
-#include "pycore_pystate.h"
+#include "pycore_pystate.h" // _PyThreadState_GET()
#include "dict-common.h"
-#include "stringlib/eq.h" /* to get unicode_eq() */
+#include "stringlib/eq.h" // unicode_eq()
/*[clinic input]
class dict "PyDictObject *" "&PyDict_Type"