summaryrefslogtreecommitdiffstats
path: root/Modules/clinic/sha1module.c.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-06-09 13:16:06 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-06-09 13:16:06 (GMT)
commit5dee6551e2b98792bc6336206f763623483e7883 (patch)
treee18dfc32e889ca62dc3a0d3f4cd1484353d7a6aa /Modules/clinic/sha1module.c.h
parent2561bf6ae0a16576321cfb8cb900869b109b2263 (diff)
downloadcpython-5dee6551e2b98792bc6336206f763623483e7883.zip
cpython-5dee6551e2b98792bc6336206f763623483e7883.tar.gz
cpython-5dee6551e2b98792bc6336206f763623483e7883.tar.bz2
Issue #26305: Argument Clinic now uses braces in C code as required by PEP 7.
Diffstat (limited to 'Modules/clinic/sha1module.c.h')
-rw-r--r--Modules/clinic/sha1module.c.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/clinic/sha1module.c.h b/Modules/clinic/sha1module.c.h
index fa865ba..6d3fa64 100644
--- a/Modules/clinic/sha1module.c.h
+++ b/Modules/clinic/sha1module.c.h
@@ -85,11 +85,12 @@ _sha1_sha1(PyModuleDef *module, PyObject *args, PyObject *kwargs)
PyObject *string = NULL;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:sha1", _keywords,
- &string))
+ &string)) {
goto exit;
+ }
return_value = _sha1_sha1_impl(module, string);
exit:
return return_value;
}
-/*[clinic end generated code: output=be19102f3120490a input=a9049054013a1b77]*/
+/*[clinic end generated code: output=40df3f8955919e72 input=a9049054013a1b77]*/