diff options
| author | Thomas Heller <theller@ctypes.org> | 2008-06-10 15:30:51 +0000 |
|---|---|---|
| committer | Thomas Heller <theller@ctypes.org> | 2008-06-10 15:30:51 +0000 |
| commit | b1ef6735ba175d243b3bb8d7f46c53ffbecfb7bd (patch) | |
| tree | 854891ea122721cfefa809ad71a0bb70465b46f8 /Modules | |
| parent | b795f528b2487a5dea5d4fb055dfe18c1f2f43fd (diff) | |
| download | cpython-git-b1ef6735ba175d243b3bb8d7f46c53ffbecfb7bd.tar.gz | |
PyString_InternFromString -> PyUnicode_InternFromString
Diffstat (limited to 'Modules')
| -rw-r--r-- | Modules/_ctypes/callproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
