summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/pystate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index bdb456b..f1dc413 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -149,7 +149,7 @@ void
PyThreadState_Clear(tstate)
PyThreadState *tstate;
{
- if (tstate->frame != NULL)
+ if (Py_VerboseFlag && tstate->frame != NULL)
fprintf(stderr,
"PyThreadState_Clear: warning: thread still has a frame\n");