diff options
author | Timothy Crosley <timothy.crosley@gmail.com> | 2014-01-07 16:53:56 -0500 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2014-01-07 16:53:56 -0500 |
commit | a42a8d855e810a3eab3236fbf7be40515abd25fe (patch) | |
tree | 79dc029f4521cf29f721032e082e4e53ae280e56 | |
parent | 0320431503055cb2be89d749ffa7a9b0fb6e0e39 (diff) | |
download | pies-a42a8d855e810a3eab3236fbf7be40515abd25fe.tar.gz |
Fix issue #12: Typo naming variables
-rw-r--r-- | pies/ast.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pies/ast.py b/pies/ast.py index 3821960..015e24e 100644 --- a/pies/ast.py +++ b/pies/ast.py @@ -21,8 +21,8 @@ else: def argument_names(node): return [arg.arg for arg in node.args.args] - def kw_only_argument_names(self): + def kw_only_argument_names(node): return [arg.arg for arg in node.args.kwonlyargs] - def kw_only_default_count(self): + def kw_only_default_count(node): return sum(1 for n in node.args.kw_defaults if n is not None) |