This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Typo in argparse documentation
Type: Stage:
Components: Documentation Versions: Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: bethard, docs@python, eli.bendersky, mikehoy, python-dev
Priority: normal Keywords: patch

Created on 2011-10-16 20:09 by mikehoy, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
typo-argparse.diff mikehoy, 2011-10-16 20:09 argparse#metavar typo correction patch review
Messages (3)
msg145636 - (view) Author: Mike Hoy (mikehoy) * Date: 2011-10-16 20:09
In the Docs mailing list a typo was pointed out in argparse docs.

http://docs.python.org/dev/library/argparse.html#metavar

> "So, a single positional argument with dest='bar' will that argument 
> will be referred to as bar."

> "So, a single positional argument with dest='bar' WITH that argument 
> will be referred to as bar."

Eli Bendersky:

> I agree the original sentence makes little sense. But I'm not sure
> your correction fully fixes it either - "a single positional argument
> ... with that argument" doesn't sound right.

> Perhaps it should just say:

> "So, a single positional argument with dest='bar' will be referred to  > as bar" ?

Patch says "So,a single positional argument with dest='bar' will be referred to as bar"
msg147423 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-11-11 08:49
New changeset 61976390763f by Eli Bendersky in branch '3.2':
Issue #13191: typo in argparse docs
http://hg.python.org/cpython/rev/61976390763f

New changeset edf944ab87c5 by Eli Bendersky in branch 'default':
Issue #13191: typo in argparse docs
http://hg.python.org/cpython/rev/edf944ab87c5
msg147433 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-11-11 14:32
New changeset 477f633aa09d by Eli Bendersky in branch '2.7':
Issue #13191: typo in argparse docs
http://hg.python.org/cpython/rev/477f633aa09d
History
Date User Action Args
2022-04-11 14:57:22adminsetgithub: 57400
2011-11-11 14:32:35python-devsetmessages: + msg147433
2011-11-11 08:51:26eli.benderskysetstatus: open -> closed
2011-11-11 08:49:05python-devsetnosy: + python-dev
messages: + msg147423
2011-10-17 15:43:35eric.araujosetnosy: + bethard

versions: + Python 2.7, Python 3.2, Python 3.3
2011-10-17 05:44:42eli.benderskysetnosy: + eli.bendersky
2011-10-16 20:09:03mikehoycreate