Skip to content

Instantly share code, notes, and snippets.

@npalko
Created August 30, 2012 04:45
Show Gist options
  • Save npalko/3522432 to your computer and use it in GitHub Desktop.
Save npalko/3522432 to your computer and use it in GitHub Desktop.
from contextlib import contextmanager
@contextmanager
def tag(args):
ccontext = ctx(args)
yield context
context.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment