mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
Fix function name in error msg
This commit is contained in:
parent
edef2be4af
commit
41efc14498
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue