This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# vim:syntax=python:sw=4:ts=4:expandtab | |
import functools | |
def wrap(orig_func): | |
# now some funky python magic | |
@functools.wraps(orig_func) | |
def outer(new_func): |
NewerOlder