[Python-checkins] cpython (3.4): Fix a typo in the docstring of nb_index.

zach.ware python-checkins at python.org
Fri Apr 18 16:23:59 CEST 2014


http://hg.python.org/cpython/rev/57f914880078
changeset:   90395:57f914880078
branch:      3.4
parent:      90393:7b7885a1573c
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Fri Apr 18 09:23:14 2014 -0500
summary:
  Fix a typo in the docstring of nb_index.

files:
  Objects/typeobject.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Objects/typeobject.c b/Objects/typeobject.c
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -6276,7 +6276,7 @@
            slot_nb_inplace_true_divide, wrap_binaryfunc, "/"),
     NBSLOT("__index__", nb_index, slot_nb_index, wrap_unaryfunc,
            "__index__($self, /)\n--\n\n"
-           "Return self converted to an integer, if self is suitable"
+           "Return self converted to an integer, if self is suitable "
            "for use as an index into a list."),
     MPSLOT("__len__", mp_length, slot_mp_length, wrap_lenfunc,
            "__len__($self, /)\n--\n\nReturn len(self)."),

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


More information about the Python-checkins mailing list