New submission from Neil Godber :
'%' character in help= for argparse causes ValueError: incomplete format. I am
attempting to use the percentage character in my help string but get the above
error. Presumably argparse assumes % denotes formatting when this is not the
case. I have tried f-strings, escape and raw strings, none of which rectify the
issue. The only solution is that dev's cannot use % character in argpase help
strings which is something of an oddity.
--
components: Interpreter Core
messages: 373578
nosy: Neil Godber
priority: normal
severity: normal
status: open
title: '%' character in help= for argparse causes ValueError: incomplete format
type: behavior
versions: Python 3.7
___
Python tracker
<https://bugs.python.org/issue41289>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com