]> granicus.if.org Git - python/commitdiff
Correct typo -- repeat implements *, not +.
authorGuido van Rossum <guido@python.org>
Thu, 5 Dec 1996 19:01:16 +0000 (19:01 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 5 Dec 1996 19:01:16 +0000 (19:01 +0000)
Modules/operator.c

index 93566f49fd18f0c19de765f87f48e6dc123e61a5..938019f1e6a1b7ab1444da5a2eeff4499cd07288 100644 (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__,