[Python-checkins] cpython (3.2): Issue #16138: fix typo.

andrew.svetlov python-checkins at python.org
Fri Oct 5 12:27:14 CEST 2012


http://hg.python.org/cpython/rev/7cf0d8b2744b
changeset:   79491:7cf0d8b2744b
branch:      3.2
parent:      79488:9838ae397a19
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Fri Oct 05 13:26:10 2012 +0300
summary:
  Issue #16138: fix typo.

files:
  Doc/glossary.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/glossary.rst b/Doc/glossary.rst
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -562,7 +562,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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list