Text copy-edit in the tutorial? Passing a dict named 'table' · Issue #93240 · python/cpython (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@JoshuaPollinger

Description

@JoshuaPollinger

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!!