mirror of https://github.com/python/cpython
fix comment in _PyMutex_TryUnlock (#125319)
This commit is contained in:
parent
283ea5f3b2
commit
022c50d190
|
@ -64,8 +64,8 @@ PyMutex_LockFlags(PyMutex *m, _PyLockFlags flags)
|
|||
}
|
||||
}
|
||||
|
||||
// Unlock a mutex, returns 0 if the mutex is not locked (used for improved
|
||||
// error messages).
|
||||
// Unlock a mutex, returns -1 if the mutex is not locked (used for improved
|
||||
// error messages) otherwise returns 0.
|
||||
extern int _PyMutex_TryUnlock(PyMutex *m);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue