summaryrefslogtreecommitdiff
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-04-13 18:06:42 -0400
committerBenjamin Peterson <benjamin@python.org>2012-04-13 18:06:42 -0400
commit780b66b3e6019485959aeac9ab7fb30e14c53825 (patch)
tree54a6ef259b8a0cabf98b6da09f11674c63e4900f /Python/pystate.c
parentb8d016955a577eb54b6508f2f2c8d1247e03c8e4 (diff)
parent3bf01757b668eefd9cd2b80887ca824ef3dca777 (diff)
downloadcpython-git-780b66b3e6019485959aeac9ab7fb30e14c53825.tar.gz
merge 3.2
Diffstat (limited to 'Python/pystate.c')
-rw-r--r--Python/pystate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index 9fc4c1262d..31b5423d38 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -726,10 +726,10 @@ PyGILState_Release(PyGILState_STATE oldstate)
PyEval_SaveThread();
}
+#endif /* WITH_THREAD */
+
#ifdef __cplusplus
}
#endif
-#endif /* WITH_THREAD */
-