projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b795f52
)
PyString_InternFromString -> PyUnicode_InternFromString
author
Thomas Heller
<theller@ctypes.org>
Tue, 10 Jun 2008 15:30:51 +0000
(15:30 +0000)
committer
Thomas Heller
<theller@ctypes.org>
Tue, 10 Jun 2008 15:30:51 +0000
(15:30 +0000)
Modules/_ctypes/callproc.c
patch
|
blob
|
history
diff --git
a/Modules/_ctypes/callproc.c
b/Modules/_ctypes/callproc.c
index 47cc56775981b52eec5fe4dc2f8b89f6f9861b3d..53677c066a103a5244b39d882036e537a7faae42 100644
(file)
--- 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 = Py
String
_InternFromString("ctypes.error_object");
+ error_object_name = Py
Unicode
_InternFromString("ctypes.error_object");
if (error_object_name == NULL)
return NULL;
}