[issue9625] argparse: Problem with defaults for variable nargs when using choices

paul j3 report at bugs.python.org
Wed Jul 3 23:36:35 CEST 2013


paul j3 added the comment:

Change "choices='abc'" to "choices=['a', 'b', 'c']", as discussed in issue 16977  (use of string choices is a bad example)

----------
Added file: http://bugs.python.org/file30762/issue9625_2.patch

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


More information about the Python-bugs-list mailing list