summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-05 10:26:10 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-05 10:26:10 (GMT)
commit8cf1cc498f648b548823075f6f930e0b10aa1abb (patch)
treef750c693cf77ce69eea6ed445de10e0649470d73 /Doc
parent685fffa8f427b3a768b232170752565d58c32112 (diff)
downloadcpython-8cf1cc498f648b548823075f6f930e0b10aa1abb.zip
cpython-8cf1cc498f648b548823075f6f930e0b10aa1abb.tar.gz
cpython-8cf1cc498f648b548823075f6f930e0b10aa1abb.tar.bz2
Issue #16138: fix typo.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/glossary.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 7cd9905..2151350 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -562,7 +562,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.
+ :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