]> granicus.if.org Git - python/commitdiff
yet another WITH_THREADS typo
authorChristian Heimes <christian@cheimes.de>
Wed, 31 Jul 2013 11:32:40 +0000 (13:32 +0200)
committerChristian Heimes <christian@cheimes.de>
Wed, 31 Jul 2013 11:32:40 +0000 (13:32 +0200)
Modules/_sha3/sha3module.c

index 0f47fc342934561ed75dc11f3c1b231cc7fc248b..4e6352b7baf5b28b7fd123eb92f98e5cb5fe103e 100644 (file)
@@ -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.