Fix-up doc for itertools.repeat(). A -1 translates to zero repetitions, not…
Fix-up doc for itertools.repeat(). A -1 translates to zero repetitions, not infinite repetitions. This matches the behavior of ['x']*n.
Showing
Please
register
or
sign in
to comment