def log_decorator(func):
source code
Decorator that rewrites the function’s AST so that it logs non-underscore parameters, and assigned variables.