(*args, **kwargs)
| 1 | |
| 2 | def log_call(function): # decorator example |
| 3 | def wrapper(*args, **kwargs): |
| 4 | print(f"log: '{function.__name__}' called with: {args}, {kwargs}") |
| 5 | return_value = function(*args, **kwargs) |
| 6 | print(f"log: '{function.__name__}' returned with: {return_value}") |
| 7 | return return_value |
| 8 | return wrapper |
| 9 |
nothing calls this directly
no outgoing calls
no test coverage detected