Skip to content

Instantly share code, notes, and snippets.

@alexjbest
Created December 12, 2018 20:11
Show Gist options
  • Save alexjbest/240c90c41d623306d9b6efdbb11f7cc9 to your computer and use it in GitHub Desktop.
Save alexjbest/240c90c41d623306d9b6efdbb11f7cc9 to your computer and use it in GitHub Desktop.
def f(a,b):
print inspect.currentframe().f_code.co_name + "("+", ".join(map(lambda x: str(x.parent()) + str (x), locals().values()))+")"
return a+b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment