[Python-checkins] cpython (3.3): Issue #20460: Render 'bytes' as a class, not a function.

zach.ware python-checkins at python.org
Fri Jan 31 19:07:45 CET 2014


http://hg.python.org/cpython/rev/7a611b7aae38
changeset:   88862:7a611b7aae38
branch:      3.3
parent:      88860:d080214883aa
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Fri Jan 31 12:06:14 2014 -0600
summary:
  Issue #20460: Render 'bytes' as a class, not a function.
Patch by OSAMU NAKAMURA.

files:
  Doc/c-api/arg.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst
--- a/Doc/c-api/arg.rst
+++ b/Doc/c-api/arg.rst
@@ -513,7 +513,7 @@
       ``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]

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list