From: Stefan Behnel Date: Wed, 10 Mar 2010 09:46:30 +0000 (+0100) Subject: simplification X-Git-Tag: 0.13.beta0~325^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=baaee17d097b89d59db040232b91d971219f74ca;p=cython.git simplification --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index 4d1d1c6c..f5da2453 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -5134,10 +5134,10 @@ static int __Pyx_Print(PyObject* stream, PyObject *arg_tuple, int newline) { return -1; end_string = PyUnicode_FromStringAndSize(" ", 1); if (unlikely(!end_string)) - goto bad; + return -1; if (PyDict_SetItemString(%(PRINT_KWARGS)s, "end", end_string) < 0) { Py_DECREF(end_string); - goto bad; + return -1; } Py_DECREF(end_string); }