summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-04-18 14:23:14 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2014-04-18 14:23:14 (GMT)
commit715ef02ddc9c9d175a324dbeddbb7a1c750238ee (patch)
tree6c8911e0a54353fc8e39935fd78ae89c8c92a338 /Objects
parentea42b4cc807e3d16df6e54b57f81cfd37e4087d5 (diff)
downloadcpython-715ef02ddc9c9d175a324dbeddbb7a1c750238ee.zip
cpython-715ef02ddc9c9d175a324dbeddbb7a1c750238ee.tar.gz
cpython-715ef02ddc9c9d175a324dbeddbb7a1c750238ee.tar.bz2
Fix a typo in the docstring of nb_index.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/typeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 8a12547..7f59d5d 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)."),