paul j3 <ajipa...@gmail.com> added the comment:

https://bugs.python.org/issue28742
argparse.ArgumentDefaultsHelpFormatter sometimes provides inaccurate 
documentation of defaults, so they should be overrideable

is asking for something similar - the ability to override the automatic 
`%(default)s` in certain cases.

The proposed fix is to look for a string that is already displaying a default, 
such as '(default:'.

    if '%(default)' not in action.help and '(default:' not in action.help:

----------
resolution: rejected -> duplicate

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32552>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to