]> granicus.if.org Git - python/commitdiff
#4427: fix arguments for "y" BuildValue type.
authorGeorg Brandl <georg@python.org>
Fri, 5 Dec 2008 07:57:51 +0000 (07:57 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 5 Dec 2008 07:57:51 +0000 (07:57 +0000)
Doc/c-api/arg.rst

index d64cc5c3abce50a3cb8585173efd4ac6676203e2..e90ac3972b5e51e607a88ef9a582043280dc5b18 100644 (file)
@@ -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.