Browse Source

Profile

pull/9/head
Jure Šorn 5 years ago
parent
commit
16ef452c88
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -1397,7 +1397,7 @@ def profiler(func):
#### Decorator for function tracing:
```python
def tracer(func):
"""Prints input and output of a decorated function."""
"""Prints arguments and output of a decorated function."""
def out(*args, **kwargs):
result = func(*args, **kwargs)
arg_list = [str(x) for x in args]

Loading…
Cancel
Save