GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Text copy-edit in the tutorial? Passing a dict named 'table' · Issue #93240 · python/cpython

Text copy-edit in the tutorial? Passing a dict named 'table' #93240

New issue
Copy link
New issue
Copy link
Closed
Closed
Text copy-edit in the tutorial? Passing a dict named 'table'#93240
Copy link
Labels
3.10 (EOL)end of lifeend of life3.11only security fixesonly security fixes3.12only security fixesonly security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dir

Description

@JoshuaPollinger
JoshuaPollinger
opened on May 26, 2022
Issue body actions

Documentation

https://docs.python.org/3.12/tutorial/inputoutput.html#the-string-format-method

Hi everyone! I'm reading through the tutorial and at section "7.1.2. The String format() Method", the sixth paragraph refers to passing a dictionary (named "table") as an argument. Here's the text as it reads:

This could also be done by passing the table as keyword arguments with the '**' notation.

But I think it would be more clear if the text was written as follows:

This could also be done by passing the dict as keyword arguments with the '**' notation.

or

This could also be done by passing the dict (in this example 'table') as keyword arguments with the '**' notation.

Hope this feedback is helpful! thanks!!

Activity

  1. JoshuaPollinger
    added
    docsDocumentation in the Doc dirDocumentation in the Doc dir
    on May 26, 2022
  2. AA-Turner commented on May 26, 2022

    @AA-Turner
    AA-Turner
    on May 26, 2022
    Member
    More actions

    A pull request would be welcomed.

    A

  3. AA-Turner
    added
    3.11only security fixesonly security fixes
    3.10 (EOL)end of lifeend of life
    3.12only security fixesonly security fixes
    on May 26, 2022
  4. AA-Turner commented on May 26, 2022

    @AA-Turner
    AA-Turner
    on May 26, 2022
    Member
    More actions

    (I'd probably go for This could also be done by passing the ``table`` dictionary as keyword arguments with the ``**`` notation.).

  5. paulreece commented on May 27, 2022

    @paulreece
    paulreece
    on May 27, 2022
    Contributor
    More actions

    Hi I made the adjustment and created a PR here #93276

  6. ambv
    added a commit that references this issue on Jun 21, 2022

    gh-93240: clarify wording in IO tutorial (GH-93276)

    51d6731
  7. miss-islington
    added a commit that references this issue on Jun 21, 2022

    pythongh-93240: clarify wording in IO tutorial (pythonGH-93276)

    e3f0352
  8. ambv
    added 3 commits that reference this issue on Jun 21, 2022

    [3.11] pythongh-93240: clarify wording in IO tutorial (pythonGH-93276)

    65b435c

    [3.11] gh-93240: clarify wording in IO tutorial (GH-93276) (GH-94082)

    c76e6f7

    gh-93240: clarify wording in IO tutorial (GH-93276) (GH-94081)

    6432a89
  9. ambv commented on Jun 21, 2022

    @ambv
    ambv
    on Jun 21, 2022
    Contributor
    More actions

    Fixed. Thanks! ✨ 🍰 ✨

  10. ambv
    closed this as completedon Jun 21, 2022
  11. serhiy-storchaka
    added a commit that references this issue on Jun 26, 2022

    Revert 30935 defer bpo45162 to 312 (#94285)

    1ffde3e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.10 (EOL)end of lifeend of life3.11only security fixesonly security fixes3.12only security fixesonly security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.