]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
merge #15847: allow args to be a tuple in parse_args
authorR David Murray <rdmurray@bitdance.com>
Sat, 8 Sep 2012 16:14:25 +0000 (12:14 -0400)
committerR David Murray <rdmurray@bitdance.com>
Sat, 8 Sep 2012 16:14:25 +0000 (12:14 -0400)
commit63755f3bd94c7e193a44324d3248b2478cbf47fc
tree372087e0ce49819a85e04f2fc58df20f36733225
parent37a0170fa3e5023952040479675fd2002ffe3592
parentb522828d2a6bdc4438441eda837a696851ba4263
merge #15847: allow args to be a tuple in parse_args

This fixes a regression introduced by the fix for issue #13922.  Although args
is not documented as being allowed to be a tuple, previously this worked and
so naturally there are programs in the field that depend on it.

Patch by Zbyszek JÄ™drzejewski-Szmek.
Lib/argparse.py
Lib/test/test_argparse.py