From 60d8684e4f947670d318d3e09f2ceb2fd5bf1b2f Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sat, 20 Nov 2010 19:36:35 +0000 Subject: [PATCH] Merged revisions 86603 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86603 | antoine.pitrou | 2010-11-20 20:36:05 +0100 (sam., 20 nov. 2010) | 3 lines In 3.x, bytearray is akin to bytes, not str. ........ --- Doc/library/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 8e07673fef..764fd8fb86 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -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: -- 2.40.0