Message70451
Should this apply to 2.6 as well? See r65321, I find the last line
easier to read when arguments are in this order.
def grouper(n, iterable, fillvalue=None):
args = [iter(iterable)] * n
return izip_longest(*args, fillvalue=fillvalue)
On the cons side, keyword-only arguments don't exist in 2.6, so the
consistency with function definition syntax does not apply. |
|
Date |
User |
Action |
Args |
2008-07-31 01:30:55 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc |
2008-07-31 01:30:55 | amaury.forgeotdarc | set | messageid: <1217467855.01.0.813430806299.issue3473@psf.upfronthosting.co.za> |
2008-07-31 01:30:54 | amaury.forgeotdarc | link | issue3473 messages |
2008-07-31 01:30:54 | amaury.forgeotdarc | create | |
|