Chris Jerdonek added the comment:

The argparse documentation says in one part, "The choices keyword argument may 
be more convenient for type checkers that simply check against a range of 
values."

Thus, I wouldn't object to language clarifying that choices is meant for lists 
of choices that should be displayed in the command-line help (e.g. "smaller" 
lists and human-readable).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16418>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to