Brendan Barnwell added the comment:
This issue has sat idle for six years. Meanwhile, the docs are still
incorrect, giving every user wrong information about how the module works. Can
we consider just changing the documentation instead of worrying about what the
behavior should be or what
Changes by wim glenn wim.gl...@gmail.com:
--
nosy: -wim.glenn
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16697
___
___
Python-bugs-list
New submission from wim glenn:
Any object that supports the in operator can be passed as the choices value, so
dict objects, set objects, custom containers, etc. are all supported. (from
http://docs.python.org/dev/library/argparse.html#choices )
Actual behaviour is contradicted by the docs
R. David Murray added the comment:
This is a duplicate of issue issue 16468, which may get closed with either a
bug fix or a doc fix, depending on the outcome of the overall discussion.
--
nosy: +r.david.murray
resolution: - duplicate
stage: - committed/rejected
status: open - closed