Message171779
f = lambda t, c, *, _f=(lambda a, b, c: a + b + c): _f(*(unpack_tuple(2, t) + (c,)))
def unpack_tuple(n, t):
t = tuple(t)
if len(t) > n:
raise ValueError('too many values to unpack (expected %d)' % (n,))
if len(t) < n:
raise ValueError('need more than %d values to unpack' % (len(t),))
return t |
|
Date |
User |
Action |
Args |
2012-10-02 09:06:23 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, mark.dickinson, benjamin.peterson, ezio.melotti, Ramchandra Apte, GlitchMr |
2012-10-02 09:06:22 | serhiy.storchaka | set | messageid: <1349168782.95.0.573335560354.issue16094@psf.upfronthosting.co.za> |
2012-10-02 09:06:22 | serhiy.storchaka | link | issue16094 messages |
2012-10-02 09:06:22 | serhiy.storchaka | create | |
|