Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@durden
Created July 30, 2011 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save durden/1116023 to your computer and use it in GitHub Desktop.
Save durden/1116023 to your computer and use it in GitHub Desktop.
import sys, types
module = sys.modules[__name__]
for name, var in vars(module).items():
if type(var) == types.FunctionType and name.startswith('filter_'):
value = var(value)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment