summaryrefslogtreecommitdiff
path: root/Modules/clinic/sha256module.c.h
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/clinic/sha256module.c.h')
-rw-r--r--Modules/clinic/sha256module.c.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/Modules/clinic/sha256module.c.h b/Modules/clinic/sha256module.c.h
index 661569c4fe..483109f936 100644
--- a/Modules/clinic/sha256module.c.h
+++ b/Modules/clinic/sha256module.c.h
@@ -85,8 +85,9 @@ _sha256_sha256(PyObject *module, PyObject *args, PyObject *kwargs)
PyObject *string = NULL;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:sha256", _keywords,
- &string))
+ &string)) {
goto exit;
+ }
return_value = _sha256_sha256_impl(module, string);
exit:
@@ -113,11 +114,12 @@ _sha256_sha224(PyObject *module, PyObject *args, PyObject *kwargs)
PyObject *string = NULL;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:sha224", _keywords,
- &string))
+ &string)) {
goto exit;
+ }
return_value = _sha256_sha224_impl(module, string);
exit:
return return_value;
}
-/*[clinic end generated code: output=5a1fc5480e399f95 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=a41a21c08fcddd70 input=a9049054013a1b77]*/