From: Thomas Heller Date: Tue, 10 Jun 2008 15:30:51 +0000 (+0000) Subject: PyString_InternFromString -> PyUnicode_InternFromString X-Git-Tag: v3.0b1~126 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1ef6735ba175d243b3bb8d7f46c53ffbecfb7bd;p=python PyString_InternFromString -> PyUnicode_InternFromString --- diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c index 47cc567759..53677c066a 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; }