summaryrefslogtreecommitdiffstats
path: root/Modules/_csv.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_csv.c')
-rw-r--r--Modules/_csv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_csv.c b/Modules/_csv.c
index e5324ae..08907db 100644
--- a/Modules/_csv.c
+++ b/Modules/_csv.c
@@ -1259,7 +1259,7 @@ csv_writerow(WriterObj *self, PyObject *seq)
(void *) self->rec, self->rec_len);
if (line == NULL)
return NULL;
- result = PyObject_CallFunctionObjArgs(self->writeline, line, NULL);
+ result = _PyObject_CallArg1(self->writeline, line);
Py_DECREF(line);
return result;
}