Skip to content

Commit 3a8ce8b

Browse files
author
thomas.heller
committed
PyString_InternFromString -> PyUnicode_InternFromString
git-svn-id: http://svn.python.org/projects/python/branches/py3k@64077 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 32d9a52 commit 3a8ce8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_ctypes/callproc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ get_error_object(int **pspace)
124124
return NULL;
125125
}
126126
if (error_object_name == NULL) {
127-
error_object_name = PyString_InternFromString("ctypes.error_object");
127+
error_object_name = PyUnicode_InternFromString("ctypes.error_object");
128128
if (error_object_name == NULL)
129129
return NULL;
130130
}

0 commit comments

Comments
 (0)