Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d6117a4

Browse files
Issue #26716: Regenerate Argument Clinic code.
1 parent de4e079 commit d6117a4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Modules/clinic/fcntlmodule.c.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ PyDoc_STRVAR(fcntl_lockf__doc__,
145145
"\n"
146146
"When operation is LOCK_SH or LOCK_EX, it can also be bitwise ORed with\n"
147147
"LOCK_NB to avoid blocking on lock acquisition. If LOCK_NB is used and the\n"
148-
"lock cannot be acquired, an IOError will be raised and the exception will\n"
148+
"lock cannot be acquired, an OSError will be raised and the exception will\n"
149149
"have an errno attribute set to EACCES or EAGAIN (depending on the operating\n"
150150
"system -- for portability, check for either value).\n"
151151
"\n"
@@ -182,4 +182,4 @@ fcntl_lockf(PyModuleDef *module, PyObject *args)
182182
exit:
183183
return return_value;
184184
}
185-
/*[clinic end generated code: output=92963b631d00f0fe input=a9049054013a1b77]*/
185+
/*[clinic end generated code: output=b7d6e8fc2ad09c48 input=a9049054013a1b77]*/

Modules/fcntlmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ starts. `whence` is as with fileobj.seek(), specifically:
360360
static PyObject *
361361
fcntl_lockf_impl(PyModuleDef *module, int fd, int code, PyObject *lenobj,
362362
PyObject *startobj, int whence)
363-
/*[clinic end generated code: output=31af35eba08b9af7 input=9c594391de821f24]*/
363+
/*[clinic end generated code: output=31af35eba08b9af7 input=3a5dc01b04371f1a]*/
364364
{
365365
int ret;
366366

0 commit comments

Comments
 (0)