]> granicus.if.org Git - python/commitdiff
In 3.x, bytearray is akin to bytes, not str.
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 20 Nov 2010 19:36:05 +0000 (19:36 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 20 Nov 2010 19:36:05 +0000 (19:36 +0000)
Doc/library/functions.rst

index 205155df3b1f8a6814b41712240f4555aec66d9b..7e83a5d498b4ee670a6ea6a07c7f34ba4242f2ce 100644 (file)
@@ -70,7 +70,7 @@ are always available.  They are listed here in alphabetical order.
    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: