From: Zachary Ware Date: Fri, 31 Jan 2014 18:06:14 +0000 (-0600) Subject: Issue #20460: Render 'bytes' as a class, not a function. X-Git-Tag: v3.4.0rc1~152^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a479b7505e88947dd8eff82b6bff604636287893;p=thirdparty%2FPython%2Fcpython.git Issue #20460: Render 'bytes' as a class, not a function. Patch by OSAMU NAKAMURA. --- diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index b4efbf00f76f..58c0f3d94dac 100644 --- a/Doc/c-api/arg.rst +++ b/Doc/c-api/arg.rst @@ -513,7 +513,7 @@ Building values ``None`` is returned. ``y`` (:class:`bytes`) [char \*] - This converts a C string to a Python :func:`bytes` object. If the C + This converts a C string to a Python :class:`bytes` object. If the C string pointer is *NULL*, ``None`` is returned. ``y#`` (:class:`bytes`) [char \*, int]