From: Georg Brandl Date: Fri, 5 Dec 2008 07:57:51 +0000 (+0000) Subject: #4427: fix arguments for "y" BuildValue type. X-Git-Tag: v3.1a1~756 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a259ca8e3fa23c4259f12ab65b53059a0c1df77;p=python #4427: fix arguments for "y" BuildValue type. --- diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index d64cc5c3ab..e90ac3972b 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.