summaryrefslogtreecommitdiff
path: root/Modules/operator.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-05 19:01:16 +0000
committerGuido van Rossum <guido@python.org>1996-12-05 19:01:16 +0000
commit8a8a40aa087716ae905fa2e7de4bf29c41e037cb (patch)
treefaa1a21317608a46473aaae5ade3d1ffc3e3c918 /Modules/operator.c
parent753fd82ed1e7278e133df25e89db29b08e18b253 (diff)
downloadcpython-8a8a40aa087716ae905fa2e7de4bf29c41e037cb.tar.gz
Correct typo -- repeat implements *, not +.
Diffstat (limited to 'Modules/operator.c')
-rw-r--r--Modules/operator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/operator.c b/Modules/operator.c
index 93566f49fd..938019f1e6 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__,