[issue46453] argparse subparser help text is not escaped before string formatting
New submission from Peder Bergebakken Sundt : The `help` text in add_argument of a subparser in argparse can not contain a `%`, as it will affect string formatting. This often results in an exception. See repro.py for a reproduction, tested in Python 3.7 - 3.10. -- components
[issue46453] argparse subparser help text is not escaped before string formatting
Change by Peder Bergebakken Sundt : -- type: -> crash ___ Python tracker <https://bugs.python.org/issue46453> ___ ___ Python-bugs-list mailing list Unsubscrib