diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-06-07 19:57:46 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-06-07 19:57:46 (GMT) |
commit | 7eeb5b5e5017cf1354b084327b49390044946069 (patch) | |
tree | 6105fb6e6fa76d1d0e3c4d6e987b91aa623f7fc3 /Doc | |
parent | fa68a6188a16562c1b4ba8cf879ce49decba5546 (diff) | |
download | cpython-7eeb5b5e5017cf1354b084327b49390044946069.zip cpython-7eeb5b5e5017cf1354b084327b49390044946069.tar.gz cpython-7eeb5b5e5017cf1354b084327b49390044946069.tar.bz2 |
Issue #8848: U / U# formats of Py_BuildValue() are just alias to s / s#
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/arg.rst | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index bf6ef5c..84e27c2 100644 --- a/Doc/c-api/arg.rst +++ b/Doc/c-api/arg.rst @@ -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. |