[Python-checkins] cpython: Removed redundant Argument Clinic directives.

serhiy.storchaka python-checkins at python.org
Sat Feb 4 04:53:42 EST 2017


https://hg.python.org/cpython/rev/fc2707fb17a6
changeset: 106412:fc2707fb17a6
user: Serhiy Storchaka <storchaka at gmail.com>
date: Sat Feb 04 11:53:22 2017 +0200
summary:
 Removed redundant Argument Clinic directives.
files:
 Modules/pyexpat.c | 5 -----
 Modules/sha512module.c | 9 ---------
 Python/import.c | 5 -----
 3 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -1980,8 +1980,3 @@
 
 {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
--- a/Modules/sha512module.c
+++ b/Modules/sha512module.c
@@ -550,10 +550,6 @@
 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 @@
 }
 
 
-/*[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
--- a/Python/import.c
+++ b/Python/import.c
@@ -2042,11 +2042,6 @@
 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.");
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /