]> granicus.if.org Git - python/commitdiff
Fix a typo in the docstring of nb_index.
authorZachary Ware <zachary.ware@gmail.com>
Fri, 18 Apr 2014 14:23:14 +0000 (09:23 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Fri, 18 Apr 2014 14:23:14 +0000 (09:23 -0500)
Objects/typeobject.c

index 8a1254736932c0e2e92001e9ac2a4f95e48cb580..7f59d5da4050ff3439b3051a39700bfc39733deb 100644 (file)
@@ -6276,7 +6276,7 @@ static slotdef slotdefs[] = {
            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)."),