Message80378
"Return an iterator fixing *iterable*\ 's length to *length* by either
cutting elements off or adding *value* to the iterable."
Rather than mixing both, it would be more flexible to have a separate
function for each IMO.
Cutting off is already be handled by islice() (isn't it?), and padding
should be done with a function called e.g. pad() or rpad(). |
|
Date |
User |
Action |
Args |
2009-01-22 21:21:41 | pitrou | set | recipients:
+ pitrou, rhettinger, lehmannro |
2009-01-22 21:21:41 | pitrou | set | messageid: <1232659301.51.0.810654967218.issue5034@psf.upfronthosting.co.za> |
2009-01-22 21:21:40 | pitrou | link | issue5034 messages |
2009-01-22 21:21:40 | pitrou | create | |
|