summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2018-09-29 16:07:11 (GMT)
committerBrian Curtin <brian@python.org>2018-09-29 16:07:11 (GMT)
commiteef059657d6b10babdb4831e1148d60cc644ee9a (patch)
tree652e15fa0231948d3d14d35a0a922fb56ff273de /Python
parent508d8205121868ef24cca99f1f952558b1ff2f2e (diff)
downloadcpython-eef059657d6b10babdb4831e1148d60cc644ee9a.zip
cpython-eef059657d6b10babdb4831e1148d60cc644ee9a.tar.gz
cpython-eef059657d6b10babdb4831e1148d60cc644ee9a.tar.bz2
bpo-31370: Remove references to threadless builds (#8805)
Support for threadless builds was removed in a6a4dc81.
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index d0f9915..1a8c9e2 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -237,7 +237,7 @@ PyEval_ReInitThreads(void)
}
/* This function is used to signal that async exceptions are waiting to be
- raised, therefore it is also useful in non-threaded builds. */
+ raised. */
void
_PyEval_SignalAsyncExc(void)
@@ -245,10 +245,6 @@ _PyEval_SignalAsyncExc(void)
SIGNAL_ASYNC_EXC();
}
-/* Functions save_thread and restore_thread are always defined so
- dynamically loaded modules needn't be compiled separately for use
- with and without threads: */
-
PyThreadState *
PyEval_SaveThread(void)
{