diff options
-rw-r--r-- | pies/__init__.py | 2 | ||||
-rw-r--r-- | pies/ast.py | 4 | ||||
-rw-r--r-- | pies2overrides/setup.py | 4 | ||||
-rw-r--r-- | setup.py | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/pies/__init__.py b/pies/__init__.py index af47d20..9bfaae1 100644 --- a/pies/__init__.py +++ b/pies/__init__.py @@ -29,4 +29,4 @@ OTHER DEALINGS IN THE SOFTWARE. """ -__version__ = "2.5.1" +__version__ = "2.5.2" 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) diff --git a/pies2overrides/setup.py b/pies2overrides/setup.py index ba01db5..04ad026 100644 --- a/pies2overrides/setup.py +++ b/pies2overrides/setup.py @@ -14,12 +14,12 @@ if sys.version_info[0] == 2 and sys.version_info[1] < 7: install_requires += ['ordereddict', 'argparse'] setup(name='pies2overrides', - version='2.5.1', + version='2.5.2', description='Defines override classes that should be included with pies only if running on Python2.', author='Timothy Crosley', author_email='timothy.crosley@gmail.com', url='https://github.com/timothycrosley/pies', - download_url='https://github.com/timothycrosley/pies/blob/master/pies2overrides/dist/pies2overrides-2.5.1.tar.gz?raw=true', + download_url='https://github.com/timothycrosley/pies/blob/master/pies2overrides/dist/pies2overrides-2.5.2.tar.gz?raw=true', license="MIT", install_requires=install_requires, requires=install_requires, @@ -24,13 +24,13 @@ except (IOError, ImportError, OSError, RuntimeError): readme = '' setup(name='pies', - version='2.5.1', + version='2.5.2', description='The simplest way to write one program that runs on both Python 2 and Python 3.', long_description=readme, author='Timothy Crosley', author_email='timothy.crosley@gmail.com', url='https://github.com/timothycrosley/pies', - download_url='https://github.com/timothycrosley/pies/blob/master/dist/pies-2.5.1.tar.gz?raw=true', + download_url='https://github.com/timothycrosley/pies/blob/master/dist/pies-2.5.2.tar.gz?raw=true', license="MIT", install_requires=install_requires, requires=install_requires, |