From b1ef6735ba175d243b3bb8d7f46c53ffbecfb7bd Mon Sep 17 00:00:00 2001 From: Thomas Heller Date: Tue, 10 Jun 2008 15:30:51 +0000 Subject: PyString_InternFromString -> PyUnicode_InternFromString --- Modules/_ctypes/callproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c index 47cc567..53677c0 100644 --- a/Modules/_ctypes/callproc.c +++ b/Modules/_ctypes/callproc.c @@ -124,7 +124,7 @@ get_error_object(int **pspace) return NULL; } if (error_object_name == NULL) { - error_object_name = PyString_InternFromString("ctypes.error_object"); + error_object_name = PyUnicode_InternFromString("ctypes.error_object"); if (error_object_name == NULL) return NULL; } -- cgit v0.12