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.