summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2008-06-10 15:30:51 (GMT)
committerThomas Heller <theller@ctypes.org>2008-06-10 15:30:51 (GMT)
commitb1ef6735ba175d243b3bb8d7f46c53ffbecfb7bd (patch)
tree854891ea122721cfefa809ad71a0bb70465b46f8 /Modules
parentb795f528b2487a5dea5d4fb055dfe18c1f2f43fd (diff)
downloadcpython-b1ef6735ba175d243b3bb8d7f46c53ffbecfb7bd.zip
cpython-b1ef6735ba175d243b3bb8d7f46c53ffbecfb7bd.tar.gz
cpython-b1ef6735ba175d243b3bb8d7f46c53ffbecfb7bd.tar.bz2
PyString_InternFromString -> PyUnicode_InternFromString
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_ctypes/callproc.c2
1 files changed, 1 insertions, 1 deletions
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;
}