I have
def foo(arg1, arg2):
a = 5
b = "hi"
return a, b, "c"
I want some magic(foo) that returns ("a", "b", "un-named"), or something similar.
Is there anything like that in Python?
EDIT: why?
To create a logger decorator that gives its readers context for the values in the log.