[issue41289] '%' character in help= for argparse causes ValueError: incomplete format

Eric V. Smith report at bugs.python.org
Mon Jul 13 05:07:40 EDT 2020


Eric V. Smith <eric at trueblade.com> added the comment:

It's using normal %-formatting, so the rules applied are in https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting

The last line of the last table in that section mentions literal % characters. I realize it's sort of hard to dig this up if you're just interested in argparse.

----------
resolution:  -> not a bug

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41289>
_______________________________________


More information about the Python-bugs-list mailing list