diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-07 14:35:15 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-07 14:35:15 (GMT) |
commit | 1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb (patch) | |
tree | d0bac08478e97df6c9f949e0f9622a67d4d15d96 /Modules/clinic/fcntlmodule.c.h | |
parent | b8a2f51ceb636878ec767554eddbb11ff4502c55 (diff) | |
download | cpython-1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb.zip cpython-1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb.tar.gz cpython-1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb.tar.bz2 |
Issue #27332: Fixed the type of the first argument of module-level functions
generated by Argument Clinic. Patch by Petr Viktorin.
Diffstat (limited to 'Modules/clinic/fcntlmodule.c.h')
-rw-r--r-- | Modules/clinic/fcntlmodule.c.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Modules/clinic/fcntlmodule.c.h b/Modules/clinic/fcntlmodule.c.h index d9a1517..67660eb 100644 --- a/Modules/clinic/fcntlmodule.c.h +++ b/Modules/clinic/fcntlmodule.c.h @@ -22,10 +22,10 @@ PyDoc_STRVAR(fcntl_fcntl__doc__, {"fcntl", (PyCFunction)fcntl_fcntl, METH_VARARGS, fcntl_fcntl__doc__}, static PyObject * -fcntl_fcntl_impl(PyModuleDef *module, int fd, int code, PyObject *arg); +fcntl_fcntl_impl(PyObject *module, int fd, int code, PyObject *arg); static PyObject * -fcntl_fcntl(PyModuleDef *module, PyObject *args) +fcntl_fcntl(PyObject *module, PyObject *args) { PyObject *return_value = NULL; int fd; @@ -78,11 +78,11 @@ PyDoc_STRVAR(fcntl_ioctl__doc__, {"ioctl", (PyCFunction)fcntl_ioctl, METH_VARARGS, fcntl_ioctl__doc__}, static PyObject * -fcntl_ioctl_impl(PyModuleDef *module, int fd, unsigned int code, +fcntl_ioctl_impl(PyObject *module, int fd, unsigned int code, PyObject *ob_arg, int mutate_arg); static PyObject * -fcntl_ioctl(PyModuleDef *module, PyObject *args) +fcntl_ioctl(PyObject *module, PyObject *args) { PyObject *return_value = NULL; int fd; @@ -112,10 +112,10 @@ PyDoc_STRVAR(fcntl_flock__doc__, {"flock", (PyCFunction)fcntl_flock, METH_VARARGS, fcntl_flock__doc__}, static PyObject * -fcntl_flock_impl(PyModuleDef *module, int fd, int code); +fcntl_flock_impl(PyObject *module, int fd, int code); static PyObject * -fcntl_flock(PyModuleDef *module, PyObject *args) +fcntl_flock(PyObject *module, PyObject *args) { PyObject *return_value = NULL; int fd; @@ -161,11 +161,11 @@ PyDoc_STRVAR(fcntl_lockf__doc__, {"lockf", (PyCFunction)fcntl_lockf, METH_VARARGS, fcntl_lockf__doc__}, static PyObject * -fcntl_lockf_impl(PyModuleDef *module, int fd, int code, PyObject *lenobj, +fcntl_lockf_impl(PyObject *module, int fd, int code, PyObject *lenobj, PyObject *startobj, int whence); static PyObject * -fcntl_lockf(PyModuleDef *module, PyObject *args) +fcntl_lockf(PyObject *module, PyObject *args) { PyObject *return_value = NULL; int fd; @@ -182,4 +182,4 @@ fcntl_lockf(PyModuleDef *module, PyObject *args) exit: return return_value; } -/*[clinic end generated code: output=b7d6e8fc2ad09c48 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=97b1306b864c01c8 input=a9049054013a1b77]*/ |