summaryrefslogtreecommitdiffstats
path: root/Modules/_sha3/sha3module.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-07-31 11:32:40 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-07-31 11:32:40 (GMT)
commit0ce642ebca5f4d0e1b6875b845ad0eb8cb76bbb4 (patch)
tree55051356485af972ecb44c7e41f000f8b3f49b5b /Modules/_sha3/sha3module.c
parent7cd97fcf6ec35c828920bbbb66d4693d63046b09 (diff)
downloadcpython-0ce642ebca5f4d0e1b6875b845ad0eb8cb76bbb4.zip
cpython-0ce642ebca5f4d0e1b6875b845ad0eb8cb76bbb4.tar.gz
cpython-0ce642ebca5f4d0e1b6875b845ad0eb8cb76bbb4.tar.bz2
yet another WITH_THREADS typo
Diffstat (limited to 'Modules/_sha3/sha3module.c')
-rw-r--r--Modules/_sha3/sha3module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sha3/sha3module.c b/Modules/_sha3/sha3module.c
index 0f47fc3..4e6352b 100644
--- a/Modules/_sha3/sha3module.c
+++ b/Modules/_sha3/sha3module.c
@@ -464,7 +464,7 @@ SHA3_factory(PyObject *args, PyObject *kwdict, const char *fmt,
}
if (data_obj) {
-#ifdef WITH_THREADS
+#ifdef WITH_THREAD
if (buf.len >= HASHLIB_GIL_MINSIZE) {
/* invariant: New objects can't be accessed by other code yet,
* thus it's safe to release the GIL without locking the object.