summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-06-17 13:19:28 (GMT)
committerGitHub <noreply@github.com>2022-06-17 13:19:28 (GMT)
commit17357108732c731d6ed4f2bd123ee6ba1ff6891b (patch)
tree397113da596c3a246d6022324123933d613316ba /Python/ceval.c
parentc5b750dc0b4d4e58047c9d93c635fa26b06562f7 (diff)
downloadcpython-17357108732c731d6ed4f2bd123ee6ba1ff6891b.zip
cpython-17357108732c731d6ed4f2bd123ee6ba1ff6891b.tar.gz
cpython-17357108732c731d6ed4f2bd123ee6ba1ff6891b.tar.bz2
gh-77782: Py_FdIsInteractive() now uses PyConfig.interactive (#93916)
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index ca3797c..0d6855e 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -347,9 +347,9 @@ void _Py_NO_RETURN
_Py_FatalError_TstateNULL(const char *func)
{
_Py_FatalErrorFunc(func,
- "the function must be called with the GIL held, "
- "but the GIL is released "
- "(the current Python thread state is NULL)");
+ "the function must be called with the GIL held, "
+ "after Python initialization and before Python finalization, "
+ "but the GIL is released (the current Python thread state is NULL)");
}
int