[issue23651] Typo in argparse allow_abrev

2015-03-12 Thread Berker Peksag
Berker Peksag added the comment: Good catch, Nathan. Thanks! -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ _

[issue23651] Typo in argparse allow_abrev

2015-03-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8411ae359c98 by Berker Peksag in branch 'default': Issue #23651: Fix typo in allow_abbrev docs. https://hg.python.org/cpython/rev/8411ae359c98 -- nosy: +python-dev ___ Python tracker

[issue23651] Typo in argparse allow_abrev

2015-03-12 Thread Nathan West
New submission from Nathan West: The documentation for the new argparse feature allow_abrev contains a typo: >>> parser.add_argument('--foobar', action='store_true') >>> parser.add_argument('--foonley', action='store_false') >>> parser.parse_args([--foon]) usage: PROG [-h] [--foobar] [--foonley]