Issue #20460: Render 'bytes' as a class, not a function.

Patch by OSAMU NAKAMURA.
This commit is contained in:
Zachary Ware 2014-01-31 12:06:14 -06:00
parent 19c1f3dce6
commit a479b7505e

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