diff Modules/_csv.c @ 43866:8ed0280c2ab6

Replace PyObject_Unicode with PyObject_Str everywhere, and remove the #define for PyObject_Unicode in object.h.
author Thomas Heller <theller@ctypes.org>
date Thu, 15 Nov 2007 20:48:54 +0000
parents ace45b361e87
children 146ba97ffe1a
line wrap: on
line diff
--- a/Modules/_csv.c	Thu Nov 15 20:03:00 2007 +0000
+++ b/Modules/_csv.c	Thu Nov 15 20:48:54 2007 +0000
@@ -1185,7 +1185,7 @@
 		else {
 			PyObject *str;
 
-			str = PyObject_Unicode(field);
+			str = PyObject_Str(field);
  			Py_DECREF(field);
 			if (str == NULL)
 				return NULL;