Skip to content

Commit

Permalink
rewrite 'foo == False' to 'foo is False'
Browse files Browse the repository at this point in the history
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
  • Loading branch information
zyga committed Jul 16, 2014
1 parent af335f6 commit 7da650c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinxarg/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def parse_parser(parser, data=None, **kwargs):

data['args'].append(arg)

show_defaults = (not 'skip_default_values' in kwargs) or (kwargs['skip_default_values'] == False)
show_defaults = (not 'skip_default_values' in kwargs) or (kwargs['skip_default_values'] is False)

for action in parser._get_optional_actions():

Expand Down

0 comments on commit 7da650c

Please sign in to comment.