diff options
author | Guido van Rossum <guido@python.org> | 1996-12-05 19:01:16 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-12-05 19:01:16 (GMT) |
commit | 36a484fb52e8b62e38536e85a0350ada2acd3106 (patch) | |
tree | fa669be8d45a1c73799981f342b97324e825853f /Modules/operator.c | |
parent | 102dc417bf14a1e8e0cb4df51acc1c1de48669c5 (diff) | |
download | cpython-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.c | 2 |
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__, |