summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-11-20 19:36:05 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-11-20 19:36:05 (GMT)
commitb85b3afad05265cffbdd9902cdfdc9231db32c30 (patch)
tree7645caf9fded517be2c704ea225c7ef27acece9d
parentff1144eb34118662e9c44d58ecc26d4c4f9c640c (diff)
downloadcpython-b85b3afad05265cffbdd9902cdfdc9231db32c30.zip
cpython-b85b3afad05265cffbdd9902cdfdc9231db32c30.tar.gz
cpython-b85b3afad05265cffbdd9902cdfdc9231db32c30.tar.bz2
In 3.x, bytearray is akin to bytes, not str.
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 205155d..7e83a5d 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: