paul j3 added the comment:
http://bugs.python.org/issue21666
raises the possibility of testing the 'help' parameter in the same way. By
adding (to _check_argument):
# check the 'help' string
try:
self._get_formatter()._expand_help(action)
except (ValueError, TypeError, KeyError) as e:
raise ArgumentError(action, 'badly formed help string')
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue9849>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com