Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo in argparse doc's: "action.." #56111

Closed
rutsky mannequin opened this issue Apr 21, 2011 · 3 comments
Closed

typo in argparse doc's: "action.." #56111

rutsky mannequin opened this issue Apr 21, 2011 · 3 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@rutsky
Copy link
Mannequin

rutsky mannequin commented Apr 21, 2011

BPO 11902
Nosy @ezio-melotti
Files
  • argparse_typo_action_dot_dot.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/ezio-melotti'
    closed_at = <Date 2011-04-21.20:02:34.219>
    created_at = <Date 2011-04-21.19:15:49.232>
    labels = ['docs']
    title = 'typo in argparse doc\'s: "action.."'
    updated_at = <Date 2011-04-21.20:02:34.216>
    user = 'https://bugs.python.org/rutsky'

    bugs.python.org fields:

    activity = <Date 2011-04-21.20:02:34.216>
    actor = 'ezio.melotti'
    assignee = 'ezio.melotti'
    closed = True
    closed_date = <Date 2011-04-21.20:02:34.219>
    closer = 'ezio.melotti'
    components = ['Documentation']
    creation = <Date 2011-04-21.19:15:49.232>
    creator = 'rutsky'
    dependencies = []
    files = ['21751']
    hgrepos = []
    issue_num = 11902
    keywords = ['patch']
    message_count = 3.0
    messages = ['134237', '134242', '134244']
    nosy_count = 4.0
    nosy_names = ['ezio.melotti', 'docs@python', 'rutsky', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue11902'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']

    @rutsky
    Copy link
    Mannequin Author

    rutsky mannequin commented Apr 21, 2011

    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.

    @rutsky rutsky mannequin assigned docspython Apr 21, 2011
    @rutsky rutsky mannequin added the docs Documentation in the Doc dir label Apr 21, 2011
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Apr 21, 2011

    New changeset e8464256b4d7 by Ezio Melotti in branch '2.7':
    bpo-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':
    bpo-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':
    bpo-11902: Merge with 3.2.
    http://hg.python.org/cpython/rev/56825d54dc84

    @ezio-melotti
    Copy link
    Member

    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/.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    docs Documentation in the Doc dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant