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 doc's: "action.."
Type: Stage: resolved
Components: Documentation Versions: Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: docs@python, ezio.melotti, python-dev, rutsky
Priority: normal Keywords: patch

Created on 2011-04-21 19:15 by rutsky, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
argparse_typo_action_dot_dot.patch rutsky, 2011-04-21 19:15
Messages (3)
msg134237 - (view) Author: Vladimir Rutsky (rutsky) Date: 2011-04-21 19:15
There is a typo in argparse module documentation:
"The ``nargs`` keyword argument associates a different number of command-line arguments with a single action.." (two dots at end).

Patch based on official http://svn.python.org/projects/python/branches/py3k/ repository, but typo is also noted in Python 2.7 documentation.
msg134242 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-04-21 19:59
New changeset e8464256b4d7 by Ezio Melotti in branch '2.7':
#11902: Fix typo in argparse doc. Noticed by Vladimir Rutsky.
http://hg.python.org/cpython/rev/e8464256b4d7

New changeset 88df1ef4eec8 by Ezio Melotti in branch '3.2':
#11902: Fix typo in argparse doc. Noticed by Vladimir Rutsky.
http://hg.python.org/cpython/rev/88df1ef4eec8

New changeset 56825d54dc84 by Ezio Melotti in branch 'default':
#11902: Merge with 3.2.
http://hg.python.org/cpython/rev/56825d54dc84
msg134244 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2011-04-21 20:02
Fixed, thanks for the report.

BTW we are using HG now (http://hg.python.org/cpython) and patches should be submitted against the oldest applicable branch (either 2.7 or 3.2 is fine in this case).
More info at http://docs.python.org/devguide/.
History
Date User Action Args
2022-04-11 14:57:16adminsetgithub: 56111
2011-04-21 20:02:34ezio.melottisetstatus: open -> closed

assignee: docs@python -> ezio.melotti
versions: + Python 3.2, Python 3.3, - Python 3.4
nosy: + ezio.melotti

messages: + msg134244
resolution: fixed
stage: resolved
2011-04-21 19:59:21python-devsetnosy: + python-dev
messages: + msg134242
2011-04-21 19:15:49rutskycreate