summaryrefslogtreecommitdiffstats
path: root/Doc/library/stdtypes.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-18 10:40:25 (GMT)
committerGeorg Brandl <georg@python.org>2009-01-18 10:40:25 (GMT)
commite17d586024df50fc90dc40a44a2cb3bff2d6304f (patch)
treefea7b8afd0aaddd889fdd1ef3e4214e6554bdbda /Doc/library/stdtypes.rst
parent64150bc629c1872c5ca046b5f801052370782df6 (diff)
downloadcpython-e17d586024df50fc90dc40a44a2cb3bff2d6304f.zip
cpython-e17d586024df50fc90dc40a44a2cb3bff2d6304f.tar.gz
cpython-e17d586024df50fc90dc40a44a2cb3bff2d6304f.tar.bz2
#4983: clarify what "byte sequence" is.
Diffstat (limited to 'Doc/library/stdtypes.rst')
-rw-r--r--Doc/library/stdtypes.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 577d1a5..f67459b 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -594,16 +594,17 @@ generator object) supplying the :meth:`__iter__` and :meth:`__next__` methods.
Sequence Types --- :class:`str`, :class:`bytes`, :class:`bytearray`, :class:`list`, :class:`tuple`, :class:`range`
==================================================================================================================
-There are six sequence types: strings, byte sequences, byte arrays, lists,
-tuples, and range objects. (For other containers see the built-in
-:class:`dict`, :class:`list`, :class:`set`, and :class:`tuple` classes, and the
-:mod:`collections` module.)
+There are six sequence types: strings, byte sequences (:class:`bytes` objects),
+byte arrays (:class:`bytearray` objects), lists, tuples, and range objects.
+
+For other containers see the built-in :class:`dict`, :class:`list`,
+:class:`set`, and :class:`tuple` classes, and the :mod:`collections` module.
.. index::
object: sequence
object: string
object: bytes
- object: buffer
+ object: bytearray
object: tuple
object: list
object: range