diff options
| author | Michele Simionato <michele.simionato@gmail.com> | 2018-07-26 06:45:29 +0200 |
|---|---|---|
| committer | Michele Simionato <michele.simionato@gmail.com> | 2018-07-26 06:45:29 +0200 |
| commit | 526a8d1f998cafc08ce89dec0b079e75899e8fad (patch) | |
| tree | 26874a1c5297badfb1e82e6673102d3cd55f5587 | |
| parent | a02defca5f26eafdc77502b7215135cff0caf895 (diff) | |
| download | python-decorator-git-526a8d1f998cafc08ce89dec0b079e75899e8fad.tar.gz | |
Fix
| -rw-r--r-- | PITCHME.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -130,8 +130,8 @@ def deprecated(func, message='', *args, **kw): func.called = 0 func.called += 1 return func(*args, **kw) - ``` ++++ Usage with an without parenthesis ``` @deprecated('Use new_function instead') |
