[Python-checkins] cpython (merge 3.3 -> default): Merge issue #16138: fix typo.

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


http://hg.python.org/cpython/rev/cbb9b5dcb88a
changeset:   79493:cbb9b5dcb88a
parent:      79490:b9ac3c44a4eb
parent:      79492:a093d39fdda4
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Fri Oct 05 13:27:02 2012 +0300
summary:
  Merge 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
@@ -660,7 +660,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