Skip to content

Instantly share code, notes, and snippets.

@TimothyFitz
Created February 14, 2013 22:39
Show Gist options
  • Save TimothyFitz/4957057 to your computer and use it in GitHub Desktop.
Save TimothyFitz/4957057 to your computer and use it in GitHub Desktop.
results = [
(foo, bar*2)
for (foo, bar)
in thing.container.items()
if foo not in ("exclusion", "list") and
bar > 100
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment