[issue11174] add argparse formatting option to display type names for metavar

paul j3 report at bugs.python.org
Mon Oct 19 17:33:22 EDT 2015


paul j3 added the comment:

This formatter produces an error if one or more of the arguments uses the default `None` type (a string).   This is because `None` does not have a `.__name__`.

This HelpFormatter probably has been rarely, if ever, used.  The metavar parameter works just as well.

----------
nosy: +paul.j3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11174>
_______________________________________


More information about the Python-bugs-list mailing list