]> granicus.if.org Git - python/commitdiff
Issue #20460: Render 'bytes' as a class, not a function.
authorZachary Ware <zachary.ware@gmail.com>
Fri, 31 Jan 2014 18:06:14 +0000 (12:06 -0600)
committerZachary Ware <zachary.ware@gmail.com>
Fri, 31 Jan 2014 18:06:14 +0000 (12:06 -0600)
Patch by OSAMU NAKAMURA.

Doc/c-api/arg.rst

index b4efbf00f76fdeb19a1157a14bce27fc12cf3c83..58c0f3d94dacfe95f5adc4b54944bbe8e9d24a5d 100644 (file)
@@ -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]