mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
yet another WITH_THREADS typo
This commit is contained in:
parent
7cd97fcf6e
commit
0ce642ebca
1 changed files with 1 additions and 1 deletions
|
@ -464,7 +464,7 @@ SHA3_factory(PyObject *args, PyObject *kwdict, const char *fmt,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data_obj) {
|
if (data_obj) {
|
||||||
#ifdef WITH_THREADS
|
#ifdef WITH_THREAD
|
||||||
if (buf.len >= HASHLIB_GIL_MINSIZE) {
|
if (buf.len >= HASHLIB_GIL_MINSIZE) {
|
||||||
/* invariant: New objects can't be accessed by other code yet,
|
/* invariant: New objects can't be accessed by other code yet,
|
||||||
* thus it's safe to release the GIL without locking the object.
|
* thus it's safe to release the GIL without locking the object.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue