We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cb95996 + 8cf1cc4 commit fd03a09Copy full SHA for fd03a09
1 file changed
Doc/glossary.rst
@@ -660,7 +660,7 @@ Glossary
660
sequence
661
An :term:`iterable` which supports efficient element access using integer
662
indices via the :meth:`__getitem__` special method and defines a
663
- :meth:`len` method that returns the length of the sequence.
+ :meth:`__len__` method that returns the length of the sequence.
664
Some built-in sequence types are :class:`list`, :class:`str`,
665
:class:`tuple`, and :class:`bytes`. Note that :class:`dict` also
666
supports :meth:`__getitem__` and :meth:`__len__`, but is considered a
0 commit comments