Issue #8848: U / U# formats of Py_BuildValue() are just alias to s / s#

This commit is contained in:
Victor Stinner 2010-06-07 19:57:46 +00:00
parent fa68a6188a
commit 7eeb5b5e50
7 changed files with 9 additions and 43 deletions

View file

@ -530,12 +530,10 @@ Building values
and ``None`` is returned.
``U`` (string) [char \*]
Convert a null-terminated C string to a Python unicode object. If the C string
pointer is *NULL*, ``None`` is used.
Same as ``s``.
``U#`` (string) [char \*, int]
Convert a C string and its length to a Python unicode object. If the C string
pointer is *NULL*, the length is ignored and ``None`` is returned.
Same as ``s#``.
``i`` (integer) [int]
Convert a plain C :ctype:`int` to a Python integer object.