paul j3 added the comment: Another example of code hitting this AssertionError. Here the problem was a space in the option argument, '--out '.
http://stackoverflow.com/questions/23159845/python-argparse-assertionerror 'parser.add_argument('-o', '--out ', help='b', required = True)' That space would have cause problems later when trying access the 'args' attributes. But producing the error during the help formatting didn't help. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11874> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com