summaryrefslogtreecommitdiffstats
path: root/Include/pystate.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-25 00:26:35 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-25 00:26:35 (GMT)
commit228ca33470034eb79d6ff5d6ca772a373b2a89a7 (patch)
treecca1a7613369f3bfa10f2a15f6b4898d1bb72f99 /Include/pystate.h
parent4f17426437a5bdf458f8628936c3e37909fca448 (diff)
parent4b8b86c6d57f630763ace512bfc302fb0c2b55f8 (diff)
downloadcpython-228ca33470034eb79d6ff5d6ca772a373b2a89a7.zip
cpython-228ca33470034eb79d6ff5d6ca772a373b2a89a7.tar.gz
cpython-228ca33470034eb79d6ff5d6ca772a373b2a89a7.tar.bz2
Merge 3.5 (pystate.h)
Diffstat (limited to 'Include/pystate.h')
-rw-r--r--Include/pystate.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Include/pystate.h b/Include/pystate.h
index 9423bc7..d69d4c9 100644
--- a/Include/pystate.h
+++ b/Include/pystate.h
@@ -173,11 +173,9 @@ PyAPI_FUNC(void) _PyGILState_Reinit(void);
* the caller needn't check for NULL). */
PyAPI_FUNC(PyThreadState *) PyThreadState_Get(void);
-#ifdef WITH_THREAD
/* Similar to PyThreadState_Get(), but don't issue a fatal error
* if it is NULL. */
PyAPI_FUNC(PyThreadState *) _PyThreadState_UncheckedGet(void);
-#endif
PyAPI_FUNC(PyThreadState *) PyThreadState_Swap(PyThreadState *);
PyAPI_FUNC(PyObject *) PyThreadState_GetDict(void);