[Python-checkins] r68717 - python/branches/py3k/Doc/library/stdtypes.rst

georg.brandl python-checkins at python.org
Sun Jan 18 11:40:25 CET 2009


Author: georg.brandl
Date: Sun Jan 18 11:40:25 2009
New Revision: 68717
Log:
#4983: clarify what "byte sequence" is.
Modified:
 python/branches/py3k/Doc/library/stdtypes.rst
Modified: python/branches/py3k/Doc/library/stdtypes.rst
==============================================================================
--- python/branches/py3k/Doc/library/stdtypes.rst	(original)
+++ python/branches/py3k/Doc/library/stdtypes.rst	Sun Jan 18 11:40:25 2009
@@ -594,16 +594,17 @@
 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


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /