summaryrefslogtreecommitdiffstats
path: root/Doc/glossary.rst
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-05 10:26:42 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-05 10:26:42 (GMT)
commitfd03a099d8b5cc45dc5a3946b6bbb8cedcdb38fc (patch)
tree1f7bd7169e7bb5a312ae9c15dddc766b9cef98c2 /Doc/glossary.rst
parentcb95996fdc6956365642dd42f86dfb380f923fa5 (diff)
parent8cf1cc498f648b548823075f6f930e0b10aa1abb (diff)
downloadcpython-fd03a099d8b5cc45dc5a3946b6bbb8cedcdb38fc.zip
cpython-fd03a099d8b5cc45dc5a3946b6bbb8cedcdb38fc.tar.gz
cpython-fd03a099d8b5cc45dc5a3946b6bbb8cedcdb38fc.tar.bz2
Merge issue #16138: fix typo.
Diffstat (limited to 'Doc/glossary.rst')
-rw-r--r--Doc/glossary.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index b9782d8..68dc3b7 100644
--- 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.
+ :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