From 715ef02ddc9c9d175a324dbeddbb7a1c750238ee Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Fri, 18 Apr 2014 09:23:14 -0500 Subject: [PATCH] Fix a typo in the docstring of nb_index. --- Objects/typeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 8a125473693..7f59d5da405 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -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)."),