mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #8848: U / U# formats of Py_BuildValue() are just alias to s / s#
This commit is contained in:
parent
fa68a6188a
commit
7eeb5b5e50
7 changed files with 9 additions and 43 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue