SIGN IN SIGN UP

Fix-up doc for itertools.repeat(). A -1 translates to zero repetitions, not infinite repetitions. This matches the behavior of ['x']*n.

R
Raymond Hettinger committed
d75ad44aed87865925adbd15930a9aef5901f7c8
Parent: 1ae35ea