Correct typo -- repeat implements *, not +.

This commit is contained in:
Guido van Rossum 1996-12-05 19:01:16 +00:00
parent 102dc417bf
commit 36a484fb52
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ spam2(or_,__or__, "or_(a, b) -- Return the bitwise or of a and b.")
spam2(concat,__concat__,
"concat(a, b) -- Return a + b, for a and b sequences.")
spam2(repeat,__repeat__,
"repeat(a, b) -- Return a + b, where a is a sequence, and b is an integer.")
"repeat(a, b) -- Return a * b, where a is a sequence, and b is an integer.")
spam2(getitem,__getitem__,
"getitem(a, b) -- Return the value of a at index b.")
spam2(setitem,__setitem__,