STINNER Victor <victor.stin...@haypocalc.com> added the comment: "PyUnicodeObject*" is not the best choice for the description of the function, and I don't really like "PyUnicode". Can't we use C types in the function prototype and Python types in the description?
Example: ------- s (PyUnicodeObject* or None) [char *] Convert a null-terminated C string to a Python unicode object using 'utf-8' encoding. If the C string pointer is NULL, None is used. ----- PyUnicodeObject will be a link to the C type, and unicode a link to the Python type. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8939> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com