translator.py | raw changeset files shortlog |
1.1 --- a/translator.py Mon Apr 03 23:27:35 2017 +0200 1.2 +++ b/translator.py Tue Apr 04 00:27:38 2017 +0200 1.3 @@ -1282,7 +1282,7 @@ 1.4 1.5 # Defaults are added to the frame where arguments are missing. 1.6 1.7 - if parameters and function_defaults: 1.8 + if parameters and function_defaults is not None: 1.9 1.10 # Visit each default and set any missing arguments. Where keyword 1.11 # arguments have been used, the defaults must be inspected and, if