commit | d75ad44aed87865925adbd15930a9aef5901f7c8 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Mon Jun 01 19:16:52 2009 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Mon Jun 01 19:16:52 2009 +0000 |
tree | b01ebfea519bc73113d4dc6da04ad120bc362682 | |
parent | 1ae35ea1d613ed6e01cbca20f08342393cadb663 [diff] |
Fix-up doc for itertools.repeat(). A -1 translates to zero repetitions, not infinite repetitions. This matches the behavior of ['x']*n.