mirror of https://github.com/python/cpython
Fix function name in error msg
This commit is contained in:
parent
edef2be4af
commit
41efc14498
|
@ -327,7 +327,7 @@ fcntl_lockf(PyObject *self, PyObject *args)
|
|||
l.l_type = F_WRLCK;
|
||||
else {
|
||||
PyErr_SetString(PyExc_ValueError,
|
||||
"unrecognized flock argument");
|
||||
"unrecognized lockf argument");
|
||||
return NULL;
|
||||
}
|
||||
l.l_start = l.l_len = 0;
|
||||
|
|
Loading…
Reference in New Issue