diff options
| author | Michele Simionato <michele.simionato@gmail.com> | 2018-07-26 06:34:34 +0200 |
|---|---|---|
| committer | Michele Simionato <michele.simionato@gmail.com> | 2018-07-26 06:34:34 +0200 |
| commit | e61479ac792b01ab60fd349a31b7123aadfed349 (patch) | |
| tree | f134ab5c4d4ab8ba14adc78bfa9ab2168542d1eb | |
| parent | 8668e4ebc24849021fc73ddae4d2fc1ba89a6684 (diff) | |
| download | python-decorator-git-e61479ac792b01ab60fd349a31b7123aadfed349.tar.gz | |
Fix
| -rw-r--r-- | PITCHME.md | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -37,7 +37,7 @@ in the next release of Python* **It is joy to maintain** - next to zero bugs -- few questions +- I get few questions - I usually implement something new only when there is new Python release +++ @@ -67,13 +67,14 @@ def add(x, y): """Sum two numbers""" return x + y ``` ---- - ++++ The problem is that it does not really work ```python >>> inspect.getfullargspec(add) -FullArgSpec(args=[], varargs='args', varkw='kwds', defaults=None, kwonlyargs=[], kwonlydefaults=None, annotations={}) +FullArgSpec(args=[], varargs='args', varkw='kwds', + defaults=None, kwonlyargs=[], + kwonlydefaults=None, annotations={}) >>> add.__code__.co_varnames ('args', 'kwds') |
