From 3ce625dc3f270e328d081ba313d672b868b6b988 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Fri, 18 Apr 2014 09:23:14 -0500 Subject: Fix a typo in the docstring of nb_index. --- Objects/typeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Objects/typeobject.c') diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 8a12547369..7f59d5da40 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)."), -- cgit v1.2.1