[Python-checkins] r86603 - python/branches/py3k/Doc/library/functions.rst

antoine.pitrou python-checkins at python.org
Sat Nov 20 20:36:06 CET 2010

Author: antoine.pitrou
Date: Sat Nov 20 20:36:05 2010
New Revision: 86603

In 3.x, bytearray is akin to bytes, not str.


Modified: python/branches/py3k/Doc/library/functions.rst
--- python/branches/py3k/Doc/library/functions.rst	(original)
+++ python/branches/py3k/Doc/library/functions.rst	Sat Nov 20 20:36:05 2010
@@ -70,7 +70,7 @@
    Return a new array of bytes.  The :class:`bytearray` type is a mutable
    sequence of integers in the range 0 <= x < 256.  It has most of the usual
    methods of mutable sequences, described in :ref:`typesseq-mutable`, as well
-   as most methods that the :class:`str` type has, see :ref:`bytes-methods`.
+   as most methods that the :class:`bytes` type has, see :ref:`bytes-methods`.
    The optional *source* parameter can be used to initialize the array in a few
    different ways:

More information about the Python-checkins mailing list