diff options
author | Larry Hastings <larry@hastings.org> | 2015-04-14 22:07:59 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2015-04-14 22:07:59 (GMT) |
commit | 89964c48d1493e5fe87f1ca3ac78029cfbd3b64b (patch) | |
tree | 9eaf0ab850b9868a6529905f0f3642fb45da0c10 /Python/clinic | |
parent | 687592def926df9730f75a3aa3469f4378b8fc52 (diff) | |
download | cpython-89964c48d1493e5fe87f1ca3ac78029cfbd3b64b.zip cpython-89964c48d1493e5fe87f1ca3ac78029cfbd3b64b.tar.gz cpython-89964c48d1493e5fe87f1ca3ac78029cfbd3b64b.tar.bz2 |
Issue #23944: Argument Clinic now wraps long impl prototypes at column 78.
Diffstat (limited to 'Python/clinic')
-rw-r--r-- | Python/clinic/bltinmodule.c.h | 24 | ||||
-rw-r--r-- | Python/clinic/import.c.h | 8 |
2 files changed, 21 insertions, 11 deletions
diff --git a/Python/clinic/bltinmodule.c.h b/Python/clinic/bltinmodule.c.h index 0bd859d..83e4f69 100644 --- a/Python/clinic/bltinmodule.c.h +++ b/Python/clinic/bltinmodule.c.h @@ -83,7 +83,8 @@ PyDoc_STRVAR(builtin_format__doc__, {"format", (PyCFunction)builtin_format, METH_VARARGS, builtin_format__doc__}, static PyObject * -builtin_format_impl(PyModuleDef *module, PyObject *value, PyObject *format_spec); +builtin_format_impl(PyModuleDef *module, PyObject *value, + PyObject *format_spec); static PyObject * builtin_format(PyModuleDef *module, PyObject *args) @@ -152,7 +153,9 @@ PyDoc_STRVAR(builtin_compile__doc__, {"compile", (PyCFunction)builtin_compile, METH_VARARGS|METH_KEYWORDS, builtin_compile__doc__}, static PyObject * -builtin_compile_impl(PyModuleDef *module, PyObject *source, PyObject *filename, const char *mode, int flags, int dont_inherit, int optimize); +builtin_compile_impl(PyModuleDef *module, PyObject *source, + PyObject *filename, const char *mode, int flags, + int dont_inherit, int optimize); static PyObject * builtin_compile(PyModuleDef *module, PyObject *args, PyObject *kwargs) @@ -221,7 +224,8 @@ PyDoc_STRVAR(builtin_eval__doc__, {"eval", (PyCFunction)builtin_eval, METH_VARARGS, builtin_eval__doc__}, static PyObject * -builtin_eval_impl(PyModuleDef *module, PyObject *source, PyObject *globals, PyObject *locals); +builtin_eval_impl(PyModuleDef *module, PyObject *source, PyObject *globals, + PyObject *locals); static PyObject * builtin_eval(PyModuleDef *module, PyObject *args) @@ -257,7 +261,8 @@ PyDoc_STRVAR(builtin_exec__doc__, {"exec", (PyCFunction)builtin_exec, METH_VARARGS, builtin_exec__doc__}, static PyObject * -builtin_exec_impl(PyModuleDef *module, PyObject *source, PyObject *globals, PyObject *locals); +builtin_exec_impl(PyModuleDef *module, PyObject *source, PyObject *globals, + PyObject *locals); static PyObject * builtin_exec(PyModuleDef *module, PyObject *args) @@ -353,7 +358,8 @@ PyDoc_STRVAR(builtin_setattr__doc__, {"setattr", (PyCFunction)builtin_setattr, METH_VARARGS, builtin_setattr__doc__}, static PyObject * -builtin_setattr_impl(PyModuleDef *module, PyObject *obj, PyObject *name, PyObject *value); +builtin_setattr_impl(PyModuleDef *module, PyObject *obj, PyObject *name, + PyObject *value); static PyObject * builtin_setattr(PyModuleDef *module, PyObject *args) @@ -605,7 +611,8 @@ PyDoc_STRVAR(builtin_isinstance__doc__, {"isinstance", (PyCFunction)builtin_isinstance, METH_VARARGS, builtin_isinstance__doc__}, static PyObject * -builtin_isinstance_impl(PyModuleDef *module, PyObject *obj, PyObject *class_or_tuple); +builtin_isinstance_impl(PyModuleDef *module, PyObject *obj, + PyObject *class_or_tuple); static PyObject * builtin_isinstance(PyModuleDef *module, PyObject *args) @@ -638,7 +645,8 @@ PyDoc_STRVAR(builtin_issubclass__doc__, {"issubclass", (PyCFunction)builtin_issubclass, METH_VARARGS, builtin_issubclass__doc__}, static PyObject * -builtin_issubclass_impl(PyModuleDef *module, PyObject *cls, PyObject *class_or_tuple); +builtin_issubclass_impl(PyModuleDef *module, PyObject *cls, + PyObject *class_or_tuple); static PyObject * builtin_issubclass(PyModuleDef *module, PyObject *args) @@ -656,4 +664,4 @@ builtin_issubclass(PyModuleDef *module, PyObject *args) exit: return return_value; } -/*[clinic end generated code: output=12db4cde92eb11b3 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=b308ab64aa4d4ff8 input=a9049054013a1b77]*/ diff --git a/Python/clinic/import.c.h b/Python/clinic/import.c.h index 4995d89..9d28f3a 100644 --- a/Python/clinic/import.c.h +++ b/Python/clinic/import.c.h @@ -78,7 +78,8 @@ PyDoc_STRVAR(_imp__fix_co_filename__doc__, {"_fix_co_filename", (PyCFunction)_imp__fix_co_filename, METH_VARARGS, _imp__fix_co_filename__doc__}, static PyObject * -_imp__fix_co_filename_impl(PyModuleDef *module, PyCodeObject *code, PyObject *path); +_imp__fix_co_filename_impl(PyModuleDef *module, PyCodeObject *code, + PyObject *path); static PyObject * _imp__fix_co_filename(PyModuleDef *module, PyObject *args) @@ -295,7 +296,8 @@ PyDoc_STRVAR(_imp_load_dynamic__doc__, {"load_dynamic", (PyCFunction)_imp_load_dynamic, METH_VARARGS, _imp_load_dynamic__doc__}, static PyObject * -_imp_load_dynamic_impl(PyModuleDef *module, PyObject *name, PyObject *path, PyObject *file); +_imp_load_dynamic_impl(PyModuleDef *module, PyObject *name, PyObject *path, + PyObject *file); static PyObject * _imp_load_dynamic(PyModuleDef *module, PyObject *args) @@ -320,4 +322,4 @@ exit: #ifndef _IMP_LOAD_DYNAMIC_METHODDEF #define _IMP_LOAD_DYNAMIC_METHODDEF #endif /* !defined(_IMP_LOAD_DYNAMIC_METHODDEF) */ -/*[clinic end generated code: output=d41c392510815c5b input=a9049054013a1b77]*/ +/*[clinic end generated code: output=b64fe33fe76591cf input=a9049054013a1b77]*/ |