summaryrefslogtreecommitdiff
path: root/Modules/clinic/sha512module.c.h
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/clinic/sha512module.c.h')
-rw-r--r--Modules/clinic/sha512module.c.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/Modules/clinic/sha512module.c.h b/Modules/clinic/sha512module.c.h
index d64c2a413f..ec5a0c3402 100644
--- a/Modules/clinic/sha512module.c.h
+++ b/Modules/clinic/sha512module.c.h
@@ -103,8 +103,9 @@ _sha512_sha512(PyObject *module, PyObject *args, PyObject *kwargs)
PyObject *string = NULL;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:sha512", _keywords,
- &string))
+ &string)) {
goto exit;
+ }
return_value = _sha512_sha512_impl(module, string);
exit:
@@ -135,8 +136,9 @@ _sha512_sha384(PyObject *module, PyObject *args, PyObject *kwargs)
PyObject *string = NULL;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:sha384", _keywords,
- &string))
+ &string)) {
goto exit;
+ }
return_value = _sha512_sha384_impl(module, string);
exit:
@@ -168,4 +170,4 @@ exit:
#ifndef _SHA512_SHA384_METHODDEF
#define _SHA512_SHA384_METHODDEF
#endif /* !defined(_SHA512_SHA384_METHODDEF) */
-/*[clinic end generated code: output=bb87f494df50ffc0 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=e314c0f773abd5d7 input=a9049054013a1b77]*/