Skip to content

Instantly share code, notes, and snippets.

@mattrobenolt
Forked from schmichael/gist:3108419
Created July 14, 2012 00:20
Show Gist options
  • Save mattrobenolt/3108423 to your computer and use it in GitHub Desktop.
Save mattrobenolt/3108423 to your computer and use it in GitHub Desktop.
foo = map(lambda s: {
# lol my lambda's body is indented
s = s.upper()
print s
return s
}, ['does', 'the', 'lambda', 'implicitly', 'end', 'after', 'toplevel', 'returns?'])
@dcolish
Copy link

dcolish commented Jul 14, 2012

from __future__ import braces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment