diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-14 09:28:01 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-14 09:28:01 (GMT) |
commit | d6117a4296e129d4cd1525da1a611eca85fff081 (patch) | |
tree | 54b8763853a5f9d21a3e8f046ad674fe60bf080e /Modules | |
parent | de4e079d3dc3365ba66ff7bd2931d87b5dc5939d (diff) | |
download | cpython-d6117a4296e129d4cd1525da1a611eca85fff081.zip cpython-d6117a4296e129d4cd1525da1a611eca85fff081.tar.gz cpython-d6117a4296e129d4cd1525da1a611eca85fff081.tar.bz2 |
Issue #26716: Regenerate Argument Clinic code.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/clinic/fcntlmodule.c.h | 4 | ||||
-rw-r--r-- | Modules/fcntlmodule.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Modules/clinic/fcntlmodule.c.h b/Modules/clinic/fcntlmodule.c.h index 5e3b1c0..d9a1517 100644 --- a/Modules/clinic/fcntlmodule.c.h +++ b/Modules/clinic/fcntlmodule.c.h @@ -145,7 +145,7 @@ PyDoc_STRVAR(fcntl_lockf__doc__, "\n" "When operation is LOCK_SH or LOCK_EX, it can also be bitwise ORed with\n" "LOCK_NB to avoid blocking on lock acquisition. If LOCK_NB is used and the\n" -"lock cannot be acquired, an IOError will be raised and the exception will\n" +"lock cannot be acquired, an OSError will be raised and the exception will\n" "have an errno attribute set to EACCES or EAGAIN (depending on the operating\n" "system -- for portability, check for either value).\n" "\n" @@ -182,4 +182,4 @@ fcntl_lockf(PyModuleDef *module, PyObject *args) exit: return return_value; } -/*[clinic end generated code: output=92963b631d00f0fe input=a9049054013a1b77]*/ +/*[clinic end generated code: output=b7d6e8fc2ad09c48 input=a9049054013a1b77]*/ diff --git a/Modules/fcntlmodule.c b/Modules/fcntlmodule.c index e61c930..4e6eb72 100644 --- a/Modules/fcntlmodule.c +++ b/Modules/fcntlmodule.c @@ -360,7 +360,7 @@ starts. `whence` is as with fileobj.seek(), specifically: static PyObject * fcntl_lockf_impl(PyModuleDef *module, int fd, int code, PyObject *lenobj, PyObject *startobj, int whence) -/*[clinic end generated code: output=31af35eba08b9af7 input=9c594391de821f24]*/ +/*[clinic end generated code: output=31af35eba08b9af7 input=3a5dc01b04371f1a]*/ { int ret; |