Skip to content

Commit

Permalink
fix assert_string_list docstring
Browse files Browse the repository at this point in the history
value=None raises TypeError

DistutilsSetupError: 2 must be a list of strings (got None)
  • Loading branch information
dhimmel authored and benoit-pierre committed Jul 16, 2019
1 parent 67344c9 commit 305bb1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setuptools/dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def check_importable(dist, attr, value):


def assert_string_list(dist, attr, value):
"""Verify that value is a string list or None"""
"""Verify that value is a string list"""
try:
assert ''.join(value) != value
except (TypeError, ValueError, AttributeError, AssertionError):
Expand Down

0 comments on commit 305bb1c

Please sign in to comment.