commit | 519a042c7c248e3ae23cf2a3c1152f91a5bd2791 | [log] [tgz] |
---|---|---|
author | Thomas Heller <theller@ctypes.org> | Thu Nov 15 20:48:54 2007 +0000 |
committer | Thomas Heller <theller@ctypes.org> | Thu Nov 15 20:48:54 2007 +0000 |
tree | 3eaef917fda4776da67d0426754f810e59d9f183 | |
parent | 6e8ea0fd9c46978cf3101bd3ea94022751464ad9 [diff] [blame] |
Replace PyObject_Unicode with PyObject_Str everywhere, and remove the #define for PyObject_Unicode in object.h.
diff --git a/Modules/grpmodule.c b/Modules/grpmodule.c index 853f0f6..7e47925 100644 --- a/Modules/grpmodule.c +++ b/Modules/grpmodule.c
@@ -110,7 +110,7 @@ char *name; struct group *p; - py_str_name = PyObject_Unicode(pyo_name); + py_str_name = PyObject_Str(pyo_name); if (!py_str_name) return NULL; name = PyUnicode_AsString(py_str_name);