[issue9338] argparse optionals with nargs='?', '*' or '+' can't be followed by positionals

paul j3 report at bugs.python.org
Fri May 17 19:10:16 CEST 2013


paul j3 added the comment:

This is a test file for the patch I just submitted.

It is not a formal unitttest, but uses print output as much as assert.

Cases include the example bethard used, as well as ones from test_argparse.py that initially caused problems.

----------
Added file: http://bugs.python.org/file30297/test_9338.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9338>
_______________________________________


More information about the Python-bugs-list mailing list