Skip to content

Instantly share code, notes, and snippets.

View dominickng's full-sized avatar

Dominick Ng dominickng

View GitHub Profile
def log(func):
def log_message(*args, **kwargs):
print("calling function")
func(*args, **kwargs)
return log_message
@log
def run(x, y):
pass