From: Georg Brandl Date: Sun, 18 Jan 2009 10:40:25 +0000 (+0000) Subject: #4983: clarify what "byte sequence" is. X-Git-Tag: v3.1a1~480 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e17d586024df50fc90dc40a44a2cb3bff2d6304f;p=thirdparty%2FPython%2Fcpython.git #4983: clarify what "byte sequence" is. --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 577d1a581702..f67459ba0679 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