We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c981eb commit d4353b1Copy full SHA for d4353b1
README.md
@@ -557,7 +557,7 @@ from functools import wraps
557
def debug(func):
558
@wraps(func) # Needed for metadata copying (func name, ...).
559
def out(*args, **kwargs):
560
- print(f'You called function {func.__name__!r}.')
+ print(func.__name__)
561
return func(*args, **kwargs)
562
return out
563
@@ -566,12 +566,6 @@ def add(x, y):
566
return x + y
567
```
568
569
-```python
570
->>> add(2, 2)
571
-You called function 'add'.
572
-4
573
-```
574
-
575
576
Class
577
-----
0 commit comments