cpython: a093d39fdda4 (original) (raw)
Mercurial > cpython
changeset 79492:a093d39fdda4 3.3
Merge issue #16138: fix typo. [#16138]
Andrew Svetlov andrew.svetlov@gmail.com | |
---|---|
date | Fri, 05 Oct 2012 13:26:42 +0300 |
parents | 64a0caf49429(current diff)7cf0d8b2744b(diff) |
children | cbb9b5dcb88a 5ae9a90811ff |
files | Doc/glossary.rst |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Doc/glossary.rst 2 |
line wrap: on
line diff
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -660,7 +660,7 @@ Glossary
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.[](#l1.7)
:meth:`__len__` method that returns the length of the sequence.[](#l1.8) Some built-in sequence types are :class:`list`, :class:`str`,[](#l1.9) :class:`tuple`, and :class:`bytes`. Note that :class:`dict` also[](#l1.10) supports :meth:`__getitem__` and :meth:`__len__`, but is considered a[](#l1.11)