summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2018-07-26 06:34:34 +0200
committerMichele Simionato <michele.simionato@gmail.com>2018-07-26 06:34:34 +0200
commite61479ac792b01ab60fd349a31b7123aadfed349 (patch)
treef134ab5c4d4ab8ba14adc78bfa9ab2168542d1eb
parent8668e4ebc24849021fc73ddae4d2fc1ba89a6684 (diff)
downloadpython-decorator-git-e61479ac792b01ab60fd349a31b7123aadfed349.tar.gz
Fix
-rw-r--r--PITCHME.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/PITCHME.md b/PITCHME.md
index 102dcd9..f35a724 100644
--- a/PITCHME.md
+++ b/PITCHME.md
@@ -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')