Kaydet (Commit) 36a484fb authored tarafından Guido van Rossum's avatar Guido van Rossum

Correct typo -- repeat implements *, not +.

üst 102dc417
...@@ -228,7 +228,7 @@ spam2(or_,__or__, "or_(a, b) -- Return the bitwise or of a and b.") ...@@ -228,7 +228,7 @@ spam2(or_,__or__, "or_(a, b) -- Return the bitwise or of a and b.")
spam2(concat,__concat__, spam2(concat,__concat__,
"concat(a, b) -- Return a + b, for a and b sequences.") "concat(a, b) -- Return a + b, for a and b sequences.")
spam2(repeat,__repeat__, 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__, spam2(getitem,__getitem__,
"getitem(a, b) -- Return the value of a at index b.") "getitem(a, b) -- Return the value of a at index b.")
spam2(setitem,__setitem__, spam2(setitem,__setitem__,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment