diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-06-09 16:16:06 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-06-09 16:16:06 +0300 |
commit | a397e56d2aad76fe5cacd54a2ecbdb03702985c7 (patch) | |
tree | 67acc68c8412b558c9dcb6649eb1c93d3844df0f /Modules/clinic/_opcode.c.h | |
parent | 6426ccd1891ad4b69b60ef185d8fdfee1e63ba0a (diff) | |
download | cpython-a397e56d2aad76fe5cacd54a2ecbdb03702985c7.tar.gz |
Issue #26305: Argument Clinic now uses braces in C code as required by PEP 7.
Diffstat (limited to 'Modules/clinic/_opcode.c.h')
-rw-r--r-- | Modules/clinic/_opcode.c.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Modules/clinic/_opcode.c.h b/Modules/clinic/_opcode.c.h index 196a2eefd3..68652b0388 100644 --- a/Modules/clinic/_opcode.c.h +++ b/Modules/clinic/_opcode.c.h @@ -23,14 +23,16 @@ _opcode_stack_effect(PyModuleDef *module, PyObject *args) int _return_value; if (!PyArg_ParseTuple(args, "i|O:stack_effect", - &opcode, &oparg)) + &opcode, &oparg)) { goto exit; + } _return_value = _opcode_stack_effect_impl(module, opcode, oparg); - if ((_return_value == -1) && PyErr_Occurred()) + if ((_return_value == -1) && PyErr_Occurred()) { goto exit; + } return_value = PyLong_FromLong((long)_return_value); exit: return return_value; } -/*[clinic end generated code: output=8ee7cb735705e8b3 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=5bd7c1c113e6526a input=a9049054013a1b77]*/ |