]> granicus.if.org Git - python/commitdiff
Use unicode for reference (is there any way to build this module)
authorNeal Norwitz <nnorwitz@gmail.com>
Fri, 24 Aug 2007 22:49:25 +0000 (22:49 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Fri, 24 Aug 2007 22:49:25 +0000 (22:49 +0000)
Modules/xxmodule.c

index 0923f81bcb71eba006f03b80205085595fa56e8f..7509e2062cc668986c88b0509c24c44674f15bbc 100644 (file)
@@ -246,7 +246,7 @@ static PyTypeObject Str_Type = {
        0,                      /*tp_methods*/
        0,                      /*tp_members*/
        0,                      /*tp_getset*/
-       &PyString_Type,         /*tp_base*/
+       &PyUnicode_Type,        /*tp_base*/
        0,                      /*tp_dict*/
        0,                      /*tp_descr_get*/
        0,                      /*tp_descr_set*/