diff options
Diffstat (limited to 'Python/lock.c')
-rw-r--r-- | Python/lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/lock.c b/Python/lock.c index b125ad0c9e3..ea6ac00bfec 100644 --- a/Python/lock.c +++ b/Python/lock.c @@ -58,7 +58,7 @@ _PyMutex_LockTimed(PyMutex *m, PyTime_t timeout, _PyLockFlags flags) return PY_LOCK_ACQUIRED; } } - else if (timeout == 0) { + if (timeout == 0) { return PY_LOCK_FAILURE; } |