#4427: fix arguments for "y" BuildValue type.

This commit is contained in:
Georg Brandl 2008-12-05 07:57:51 +00:00
parent ed5b9b3fd5
commit 7a259ca8e3
1 changed files with 1 additions and 1 deletions

View 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.