]> granicus.if.org Git - python/commitdiff
Issue #26716: Regenerate Argument Clinic code.
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 14 Apr 2016 09:28:01 +0000 (12:28 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 14 Apr 2016 09:28:01 +0000 (12:28 +0300)
Modules/clinic/fcntlmodule.c.h
Modules/fcntlmodule.c

index 5e3b1c06f69a19b132ad5cfbf71324055755c06f..d9a151797e510b67322fe2181dfe13f01f84a879 100644 (file)
@@ -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]*/
index e61c93095cc64ac14b757053068b2ece6f71b620..4e6eb727801311d357f35447c3bce1282f492d1e 100644 (file)
@@ -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;