From: Guido van Rossum Date: Thu, 5 Dec 1996 19:01:16 +0000 (+0000) Subject: Correct typo -- repeat implements *, not +. X-Git-Tag: v1.5a1~896 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=36a484fb52e8b62e38536e85a0350ada2acd3106;p=thirdparty%2FPython%2Fcpython.git Correct typo -- repeat implements *, not +. --- diff --git a/Modules/operator.c b/Modules/operator.c index 93566f49fd18..938019f1e6a1 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__,