commit | b1ef6735ba175d243b3bb8d7f46c53ffbecfb7bd | [log] [tgz] |
---|---|---|
author | Thomas Heller <theller@ctypes.org> | Tue Jun 10 15:30:51 2008 +0000 |
committer | Thomas Heller <theller@ctypes.org> | Tue Jun 10 15:30:51 2008 +0000 |
tree | 854891ea122721cfefa809ad71a0bb70465b46f8 | |
parent | b795f528b2487a5dea5d4fb055dfe18c1f2f43fd [diff] |
PyString_InternFromString -> PyUnicode_InternFromString
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 @@ 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; }