Skip to content

Commit

Permalink
use a real boolean (False) default for display_option_names generated…
Browse files Browse the repository at this point in the history
… attributes
  • Loading branch information
Avasam authored Oct 17, 2024
1 parent 378984e commit 22e845b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distutils/dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def __init__(self, attrs=None): # noqa: C901
self.dry_run = False
self.help = False
for attr in self.display_option_names:
setattr(self, attr, 0)
setattr(self, attr, False)

# Store the distribution meta-data (name, version, author, and so
# forth) in a separate object -- we're getting to have enough
Expand Down

0 comments on commit 22e845b

Please sign in to comment.