Skip to content

Commit da92768

Browse files
JukkaLp-sawicki
andauthored
Update mypyc/lib-rt/threading/librt_threading.c
Co-authored-by: Piotr Sawicki <sawickipiotr@outlook.com>
1 parent 556b06f commit da92768

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mypyc/lib-rt/threading/librt_threading.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ static PyObject *
556556
Lock_release(LockObject *self, PyObject *Py_UNUSED(ignored))
557557
{
558558
if (Lock_release_impl(self) < 0) {
559-
PyErr_SetString(PyExc_RuntimeError, "release unlocked lock");
559+
PyErr_SetString(PyExc_RuntimeError, "cannot release an unlocked lock");
560560
return NULL;
561561
}
562562
Py_RETURN_NONE;

0 commit comments

Comments
 (0)