Skip to content

Instantly share code, notes, and snippets.

@solanoize
Created July 1, 2017 14:12
Show Gist options
  • Select an option

  • Save solanoize/b3e05d212aa4252d0af20d04f0d91365 to your computer and use it in GitHub Desktop.

Select an option

Save solanoize/b3e05d212aa4252d0af20d04f0d91365 to your computer and use it in GitHub Desktop.
def tagger_div(f):
def wrapper(name):
return "<div>" + f(name) + "</div>"
return wrapper
def tagger_par(f):
def wrapper(name):
return "<p>" + f(name) + "</p>"
return wrapper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment