diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-04-18 09:23:14 -0500 |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-04-18 09:23:14 -0500 |
commit | 3ce625dc3f270e328d081ba313d672b868b6b988 (patch) | |
tree | 0bea7b32c593fdcb698231aeb282e514f808aea0 /Objects/typeobject.c | |
parent | e7ea5c0f1d4dc2fffc70dee34ee630e978ba2986 (diff) | |
download | cpython-3ce625dc3f270e328d081ba313d672b868b6b988.tar.gz |
Fix a typo in the docstring of nb_index.
Diffstat (limited to 'Objects/typeobject.c')
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)."), |