diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-04-23 21:40:51 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-04-23 21:40:51 (GMT) |
commit | 247789cee99c8933c140110791d136cbe37a003b (patch) | |
tree | b29885b10378b1b31f51609bf719bd4f6c7de306 /Modules/clinic/sha256module.c.h | |
parent | a30e2256f70bd43255e8dae6459c70540f118b62 (diff) | |
download | cpython-247789cee99c8933c140110791d136cbe37a003b.zip cpython-247789cee99c8933c140110791d136cbe37a003b.tar.gz cpython-247789cee99c8933c140110791d136cbe37a003b.tar.bz2 |
Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the
same line as function name.
Diffstat (limited to 'Modules/clinic/sha256module.c.h')
-rw-r--r-- | Modules/clinic/sha256module.c.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Modules/clinic/sha256module.c.h b/Modules/clinic/sha256module.c.h index cd7c3e3..c5fe188 100644 --- a/Modules/clinic/sha256module.c.h +++ b/Modules/clinic/sha256module.c.h @@ -84,8 +84,7 @@ _sha256_sha256(PyModuleDef *module, PyObject *args, PyObject *kwargs) static char *_keywords[] = {"string", NULL}; PyObject *string = NULL; - if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "|O:sha256", _keywords, + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:sha256", _keywords, &string)) goto exit; return_value = _sha256_sha256_impl(module, string); @@ -113,8 +112,7 @@ _sha256_sha224(PyModuleDef *module, PyObject *args, PyObject *kwargs) static char *_keywords[] = {"string", NULL}; PyObject *string = NULL; - if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "|O:sha224", _keywords, + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:sha224", _keywords, &string)) goto exit; return_value = _sha256_sha224_impl(module, string); @@ -122,4 +120,4 @@ _sha256_sha224(PyModuleDef *module, PyObject *args, PyObject *kwargs) exit: return return_value; } -/*[clinic end generated code: output=8a0520371b097358 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=354cedf3b632c7b2 input=a9049054013a1b77]*/ |