We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Built-in container types (e.g. list) call __repr__() on elements when converted to str.
list
__repr__()
str
As a result, default values for multivalued options are shown using repr rather than str in help output.
repr
Add a list subclass with overridden __str__() to make this prettier.
__str__()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Built-in container types (e.g.
list
) call__repr__()
on elementswhen converted to
str
.As a result, default values for multivalued options are shown using
repr
rather thanstr
in help output.Add a
list
subclass with overridden__str__()
to make this prettier.The text was updated successfully, but these errors were encountered: