We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd5f965 commit 0904f76Copy full SHA for 0904f76
Objects/typeobject.c
@@ -6938,9 +6938,9 @@ static slotdef slotdefs[] = {
6938
SQSLOT("__add__", sq_concat, NULL, wrap_binaryfunc,
6939
"__add__($self, value, /)\n--\n\nReturn self+value."),
6940
SQSLOT("__mul__", sq_repeat, NULL, wrap_indexargfunc,
6941
- "__mul__($self, value, /)\n--\n\nReturn self*value.n"),
+ "__mul__($self, value, /)\n--\n\nReturn self*value."),
6942
SQSLOT("__rmul__", sq_repeat, NULL, wrap_indexargfunc,
6943
- "__rmul__($self, value, /)\n--\n\nReturn self*value."),
+ "__rmul__($self, value, /)\n--\n\nReturn value*self."),
6944
SQSLOT("__getitem__", sq_item, slot_sq_item, wrap_sq_item,
6945
"__getitem__($self, key, /)\n--\n\nReturn self[key]."),
6946
SQSLOT("__setitem__", sq_ass_item, slot_sq_ass_item, wrap_sq_setitem,
0 commit comments