[issue18790] incorrect text in argparse add_help example
Berker Peksag added the comment: This is fixed by changesets: - http://hg.python.org/cpython/rev/e2456381fa14 (3.4) - http://hg.python.org/cpython/rev/ee394a61dade (3.3) - http://hg.python.org/cpython/rev/c5f57a7fd4d8 (2.7) -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18790 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18790] incorrect text in argparse add_help example
Georg Brandl added the comment: Thanks for closing this! -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18790 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18790] incorrect text in argparse add_help example
Berker Peksag added the comment: This was reported a couple of times before on the docs list. - https://mail.python.org/pipermail/docs/2013-April/015145.html - https://mail.python.org/pipermail/docs/2013-June/015016.html - https://mail.python.org/pipermail/docs/2013-September/015505.html -- nosy: +berker.peksag, ezio.melotti stage: - patch review versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18790 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18790] incorrect text in argparse add_help example
Changes by Michael Bikovitsky moshe.b...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file31393/doc_fix.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18790 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18790] incorrect text in argparse add_help example
Changes by Michael Bikovitsky moshe.b...@gmail.com: -- nosy: +Michael.Bikovitsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18790 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18790] incorrect text in argparse add_help example
New submission from purplezephyr: The last example under add_help in the documentation for the argparse module has incorrect text. It is supposed to demonstrate what happens when prefix_chars doesn't include '-', and add_help is True, but the example has the following: usage: PROG [-h] optional arguments: -h, --help show this help message and exit instead of: usage: PROG [+h] optional arguments: +h, ++help show this help message and exit -- assignee: docs@python components: Documentation messages: 195710 nosy: docs@python, purplezephyr priority: normal severity: normal status: open title: incorrect text in argparse add_help example versions: Python 2.7, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18790 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com