diff --git a/Modules/xxmodule.c b/Modules/xxmodule.c index 0923f81bcb7..7509e2062cc 100644 --- a/Modules/xxmodule.c +++ b/Modules/xxmodule.c @@ -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*/