From 685c203e84aeb2deddec05be39afd8f190bd54fe Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sat, 4 Feb 2017 11:53:22 +0200 Subject: [PATCH] Removed redundant Argument Clinic directives. --- Modules/pyexpat.c | 5 ----- Modules/sha512module.c | 9 --------- Python/import.c | 5 ----- 3 files changed, 19 deletions(-) diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 03bac57272f..e0c9be732e3 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -1980,8 +1980,3 @@ static struct HandlerInfo handler_info[] = { {NULL, NULL, NULL} /* sentinel */ }; - -/*[clinic input] -dump buffer -[clinic start generated code]*/ -/*[clinic end generated code: output=da39a3ee5e6b4b0d input=524ce2e021e4eba6]*/ diff --git a/Modules/sha512module.c b/Modules/sha512module.c index 8b2d073e03c..5ac2a2a61cf 100644 --- a/Modules/sha512module.c +++ b/Modules/sha512module.c @@ -550,10 +550,6 @@ SHA512Type_update(SHAobject *self, PyObject *obj) PyBuffer_Release(&buf); Py_RETURN_NONE; } -/*[clinic input] -dump buffer -[clinic start generated code]*/ -/*[clinic end generated code: output=da39a3ee5e6b4b0d input=524ce2e021e4eba6]*/ static PyMethodDef SHA_methods[] = { SHA512TYPE_COPY_METHODDEF @@ -747,11 +743,6 @@ _sha512_sha384_impl(PyObject *module, PyObject *string) } -/*[clinic input] -dump buffer -[clinic start generated code]*/ -/*[clinic end generated code: output=da39a3ee5e6b4b0d input=524ce2e021e4eba6]*/ - /* List of functions exported by this module */ static struct PyMethodDef SHA_functions[] = { diff --git a/Python/import.c b/Python/import.c index 38976f6b579..53c0f4defb4 100644 --- a/Python/import.c +++ b/Python/import.c @@ -2042,11 +2042,6 @@ _imp_exec_builtin_impl(PyObject *module, PyObject *mod) return exec_builtin_or_dynamic(mod); } -/*[clinic input] -dump buffer -[clinic start generated code]*/ -/*[clinic end generated code: output=da39a3ee5e6b4b0d input=524ce2e021e4eba6]*/ - PyDoc_STRVAR(doc_imp, "(Extremely) low-level import machinery bits as used by importlib and imp.");