diff options
author | Georg Brandl <georg@python.org> | 2008-12-05 07:57:51 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-12-05 07:57:51 (GMT) |
commit | 7a259ca8e3fa23c4259f12ab65b53059a0c1df77 (patch) | |
tree | 4109eeb3e6aa37ab64dca2cc8eba029a41ea33c0 /Doc | |
parent | ed5b9b3fd5f49e61687a7e04e1e2509b8b6c9d56 (diff) | |
download | cpython-7a259ca8e3fa23c4259f12ab65b53059a0c1df77.zip cpython-7a259ca8e3fa23c4259f12ab65b53059a0c1df77.tar.gz cpython-7a259ca8e3fa23c4259f12ab65b53059a0c1df77.tar.bz2 |
#4427: fix arguments for "y" BuildValue type.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/arg.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index d64cc5c..e90ac39 100644 --- a/Doc/c-api/arg.rst +++ b/Doc/c-api/arg.rst @@ -438,7 +438,7 @@ and the following format units are left untouched. Convert a C string and its length to a Python object. If the C string pointer is *NULL*, the length is ignored and ``None`` is returned. - ``y`` (bytes) [char \*, int] + ``y`` (bytes) [char \*] This converts a C string to a Python :func:`bytes` object. If the C string pointer is *NULL*, ``None`` is returned. |