[docs] argparse with many choices can generate absurdly long usage message (issue 16418)
ezio.melotti at gmail.com
ezio.melotti at gmail.com
Sat Nov 17 19:05:22 CET 2012
On 2012/11/17 18:49:14, cjerdonek wrote:
> http://bugs.python.org/review/16418/diff/6550/Doc/library/argparse.rst
> File Doc/library/argparse.rst (right):
>
>
http://bugs.python.org/review/16418/diff/6550/Doc/library/argparse.rst#newcode1025
> Doc/library/argparse.rst:1025: values. These can be handled by
passing a
> container object as the ``choices``
> On 2012/11/17 18:38:56, ezio.melotti wrote:
> > Not your fault, but this should be *choices*.
>
> I noticed and thought about this when creating the patch. All of the
> surrounding documentation uses the `` formatting. For example,
``choices``
> occurs that way four times in that section, and similarly for the
documentation
> of the other keyword arguments. So it was for consistency.
OK, maybe they should be fixed in a separate commit.
http://bugs.python.org/review/16418/
More information about the docs
mailing list