summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-06-07 19:57:46 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-06-07 19:57:46 (GMT)
commit7eeb5b5e5017cf1354b084327b49390044946069 (patch)
tree6105fb6e6fa76d1d0e3c4d6e987b91aa623f7fc3 /Doc
parentfa68a6188a16562c1b4ba8cf879ce49decba5546 (diff)
downloadcpython-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.rst6
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.