summaryrefslogtreecommitdiffstats
path: root/Modules/_threadmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-04-15 00:04:42 (GMT)
committerGitHub <noreply@github.com>2020-04-15 00:04:42 (GMT)
commit62183b8d6d49e59c6a98bbdaa65b7ea1415abb7f (patch)
tree6fe82dd9494ae4de5041b16e18816973904d110b /Modules/_threadmodule.c
parentd01628e411752ee6849f862cae66a1c69fe512b7 (diff)
downloadcpython-62183b8d6d49e59c6a98bbdaa65b7ea1415abb7f.zip
cpython-62183b8d6d49e59c6a98bbdaa65b7ea1415abb7f.tar.gz
cpython-62183b8d6d49e59c6a98bbdaa65b7ea1415abb7f.tar.bz2
bpo-40268: Remove explicit pythread.h includes (#19529)
Remove explicit pythread.h includes: it is always included by Python.h.
Diffstat (limited to 'Modules/_threadmodule.c')
-rw-r--r--Modules/_threadmodule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_threadmodule.c b/Modules/_threadmodule.c
index 8ff0669..6e7ee0f 100644
--- a/Modules/_threadmodule.c
+++ b/Modules/_threadmodule.c
@@ -6,7 +6,6 @@
#include "pycore_pylifecycle.h"
#include "pycore_interp.h" // _PyInterpreterState.num_threads
#include "pycore_pystate.h" // _PyThreadState_Init()
-#include "pythread.h"
#include <stddef.h> // offsetof()
static PyObject *ThreadError;