[issue8939] Use C type names (PyUnicode etc; ) in the C API docs
11 Jun
2010
11 Jun
'10
11:37 p.m.
STINNER Victor <victor.stinner@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 <report@bugs.python.org> <http://bugs.python.org/issue8939> _______________________________________
5298
Age (days ago)
5298
Last active (days ago)
0 comments
1 participants
participants (1)
-
STINNER Victor