diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-20 19:36:35 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-20 19:36:35 (GMT) |
commit | 60d8684e4f947670d318d3e09f2ceb2fd5bf1b2f (patch) | |
tree | 0e75b65924bd73133f7d0e314a688e6206ed9070 /Doc/library | |
parent | 5a1ca6e36802f48a6cbcbd563770427ded747e0f (diff) | |
download | cpython-60d8684e4f947670d318d3e09f2ceb2fd5bf1b2f.zip cpython-60d8684e4f947670d318d3e09f2ceb2fd5bf1b2f.tar.gz cpython-60d8684e4f947670d318d3e09f2ceb2fd5bf1b2f.tar.bz2 |
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.
........
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/functions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 8e07673..764fd8f 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: |