From 7a259ca8e3fa23c4259f12ab65b53059a0c1df77 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 5 Dec 2008 07:57:51 +0000 Subject: [PATCH] #4427: fix arguments for "y" BuildValue type. --- Doc/c-api/arg.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index d64cc5c3abc..e90ac3972b5 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.