<reponame>violant/PBC-tasks<filename>pbc/func_decorator.py<gh_stars>1-10
def decorator(func):
    def wrapper(*args):
        print "{}{}".format(func.__name__, '(%s)' % ', '.join(map(repr, args)))
        return func(*args)

    return wrapper

def decorator(func):
    def wrapper(*args):
        print "{}{}".format(func.__name__, '(%s)' % ', '.join(map(repr, args)))
        return func(*args)

    return wrapper