simplification
authorStefan Behnel <scoder@users.berlios.de>
Wed, 10 Mar 2010 09:46:30 +0000 (10:46 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Wed, 10 Mar 2010 09:46:30 +0000 (10:46 +0100)
Cython/Compiler/Nodes.py

index 4d1d1c6ce78718f92e5c0ee860f8a7de980c318d..f5da2453c6b340ebfed49c1b7538ab530d6cdbc4 100644 (file)
@@ -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);
         }