[issue9253] argparse: optional subparsers

W. Trevor King report at bugs.python.org
Fri Jan 18 23:33:03 CET 2013


W. Trevor King added the comment:

Since [1] it seems like subparsers *are* optional by default.  At least I get “error: too few arguments” for version 70740 of Lib/argparse.py, but no error for version 70741.  It looks like this may be an unintentional side effect, since I see no mention of subparsers in #10424.

[1]: http://hg.python.org/cpython/rev/cab204a79e09

----------
nosy: +labrat
Added file: http://bugs.python.org/file28778/check.py

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


More information about the Python-bugs-list mailing list