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 2ebbf38..10cf96f 100644
--- a/Modules/_csv.c
+++ b/Modules/_csv.c
@@ -1185,7 +1185,7 @@ csv_writerow(WriterObj *self, PyObject *seq)
else {
PyObject *str;
- str = PyObject_Unicode(field);
+ str = PyObject_Str(field);
Py_DECREF(field);
if (str == NULL)
return NULL;