✕
Skip to content

Fix a typo in the contextlib docs #65757

Closed

Description

@berkerpeksag
BPO 21558
Nosy @rhettinger, @terryjreedy, @jcea, @ncoghlan, @berkerpeksag
Files
  • contextlib-typo.diff
  • 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/rhettinger'
    closed_at = <Date 2014-05-26.01:07:27.441>
    created_at = <Date 2014-05-23.03:58:47.995>
    labels = ['docs']
    title = 'Fix a typo in the contextlib docs'
    updated_at = <Date 2014-05-26.05:20:35.916>
    user = 'https://github.com/berkerpeksag'

    bugs.python.org fields:

    activity = <Date 2014-05-26.05:20:35.916>
    actor = 'berker.peksag'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2014-05-26.01:07:27.441>
    closer = 'rhettinger'
    components = ['Documentation']
    creation = <Date 2014-05-23.03:58:47.995>
    creator = 'berker.peksag'
    dependencies = []
    files = ['35322']
    hgrepos = []
    issue_num = 21558
    keywords = ['patch']
    message_count = 4.0
    messages = ['218944', '219014', '219115', '219131']
    nosy_count = 7.0
    nosy_names = ['rhettinger', 'terry.reedy', 'jcea', 'ncoghlan', 'docs@python', 'python-dev', 'berker.peksag']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue21558'
    versions = ['Python 3.4', 'Python 3.5']

    Activity

    1. berkerpeksag commented on May 23, 2014

      @berkerpeksag
      MemberAuthor

      From the code example at https://docs.python.org/3.5/library/contextlib.html#supporting-a-variable-number-of-context-managers

      "if need_special resource:" (see line 4) should be "if need_special_resource:".

      Related changeset: http://hg.python.org/cpython/rev/5d91d87b5969

    2. rhettinger commented on May 24, 2014

      @rhettinger
      Contributor

      Berker, feel free to assign all these micro-doc fixes to me. Also, if you want to combine a number of clear-cut, non-controversial fixes into just one patch and tracker item, that might save us both some time.

    3. python-dev commented on May 26, 2014

      python-devmannequin
      Mannequin

      New changeset ebeade01bd8e by Raymond Hettinger in branch '3.4':
      bpo-21558: Fix a typo in the contextlib docs
      http://hg.python.org/cpython/rev/ebeade01bd8e

    4. berkerpeksag commented on May 26, 2014

      @berkerpeksag
      MemberAuthor

      Thanks Raymond, will do.

    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions