summaryrefslogtreecommitdiffstats
path: root/Modules/clinic/_datetimemodule.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/_datetimemodule.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/_datetimemodule.c.h')
-rw-r--r--Modules/clinic/_datetimemodule.c.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/clinic/_datetimemodule.c.h b/Modules/clinic/_datetimemodule.c.h
index 688c903..cf9860b 100644
--- a/Modules/clinic/_datetimemodule.c.h
+++ b/Modules/clinic/_datetimemodule.c.h
@@ -27,11 +27,12 @@ datetime_datetime_now(PyTypeObject *type, PyObject *args, PyObject *kwargs)
PyObject *tz = Py_None;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:now", _keywords,
- &tz))
+ &tz)) {
goto exit;
+ }
return_value = datetime_datetime_now_impl(type, tz);
exit:
return return_value;
}
-/*[clinic end generated code: output=7f45c670d6e4953a input=a9049054013a1b77]*/
+/*[clinic end generated code: output=a82e6bd057a5dab9 input=a9049054013a1b77]*/