From 36a484fb52e8b62e38536e85a0350ada2acd3106 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 5 Dec 1996 19:01:16 +0000 Subject: Correct typo -- repeat implements *, not +. --- Modules/operator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/operator.c b/Modules/operator.c index 93566f4..938019f 100644 --- a/Modules/operator.c +++ b/Modules/operator.c @@ -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__, -- cgit v0.12