Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 715ef02

Browse files
committed
Fix a typo in the docstring of nb_index.
1 parent ea42b4c commit 715ef02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/typeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6276,7 +6276,7 @@ static slotdef slotdefs[] = {
62766276
slot_nb_inplace_true_divide, wrap_binaryfunc, "/"),
62776277
NBSLOT("__index__", nb_index, slot_nb_index, wrap_unaryfunc,
62786278
"__index__($self, /)\n--\n\n"
6279-
"Return self converted to an integer, if self is suitable"
6279+
"Return self converted to an integer, if self is suitable "
62806280
"for use as an index into a list."),
62816281
MPSLOT("__len__", mp_length, slot_mp_length, wrap_lenfunc,
62826282
"__len__($self, /)\n--\n\nReturn len(self)."),

0 commit comments

Comments
 (0)