(original) (raw)

changeset: 79492:a093d39fdda4 branch: 3.3 parent: 79489:64a0caf49429 parent: 79491:7cf0d8b2744b user: Andrew Svetlov andrew.svetlov@gmail.com date: Fri Oct 05 13:26:42 2012 +0300 files: Doc/glossary.rst description: Merge issue #16138: fix typo. diff -r 64a0caf49429 -r a093d39fdda4 Doc/glossary.rst --- a/Doc/glossary.rst Fri Oct 05 05:31:31 2012 +0200 +++ b/Doc/glossary.rst Fri Oct 05 13:26:42 2012 +0300 @@ -660,7 +660,7 @@ sequence An :term:`iterable` which supports efficient element access using integer indices via the :meth:`__getitem__` special method and defines a - :meth:`len` method that returns the length of the sequence. + :meth:`__len__` method that returns the length of the sequence. Some built-in sequence types are :class:`list`, :class:`str`, :class:`tuple`, and :class:`bytes`. Note that :class:`dict` also supports :meth:`__getitem__` and :meth:`__len__`, but is considered a /andrew.svetlov@gmail.com