summaryrefslogtreecommitdiffstats
path: root/Modules/operator.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-05 19:01:16 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-05 19:01:16 (GMT)
commit36a484fb52e8b62e38536e85a0350ada2acd3106 (patch)
treefa669be8d45a1c73799981f342b97324e825853f /Modules/operator.c
parent102dc417bf14a1e8e0cb4df51acc1c1de48669c5 (diff)
downloadcpython-36a484fb52e8b62e38536e85a0350ada2acd3106.zip
cpython-36a484fb52e8b62e38536e85a0350ada2acd3106.tar.gz
cpython-36a484fb52e8b62e38536e85a0350ada2acd3106.tar.bz2
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 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__,