[issue16697] argparse kwarg 'choices' documentation

2019-08-17 Thread Brendan Barnwell
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

[issue16697] argparse kwarg 'choices' documentation

2013-01-15 Thread wim glenn
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

[issue16697] argparse kwarg 'choices' documentation

2012-12-16 Thread wim glenn
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

[issue16697] argparse kwarg 'choices' documentation

2012-12-16 Thread R. David Murray
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