summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/bltinmodule.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 022d432..d1630cc 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1489,10 +1489,8 @@ builtin_print(PyObject *self, PyObject *args, PyObject *kwds)
PyObject *sep = NULL, *end = NULL, *file = NULL;
int i, err;
- if (dummy_args == NULL) {
- if (!(dummy_args = PyTuple_New(0)))
+ if (dummy_args == NULL && !(dummy_args = PyTuple_New(0)))
return NULL;
- }
if (!PyArg_ParseTupleAndKeywords(dummy_args, kwds, "|OOO:print",
kwlist, &sep, &end, &file))
return NULL;