Allow specifying list of functions to `map`
30 Mar
2014
30 Mar
'14
5:59 p.m.
If `map` accepted a tuple for its first argument, things like this: stdout, stderr = map(str.strip, map(bytes.decode, popen.communicate())) Could become this: stdout, stderr = map((bytes.decode, str.strip), popen.communicate())
3651
Age (days ago)
3651
Last active (days ago)
3 comments
3 participants
participants (3)
-
Chris Angelico
-
MRAB
-
Ram Rachum