mirror of
https://github.com/python/cpython
synced 2024-09-05 16:38:56 +00:00
gh-93240: clarify wording in IO tutorial (GH-93276)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
parent
420f0df862
commit
51d673176a
|
@ -179,7 +179,7 @@ square brackets ``'[]'`` to access the keys. ::
|
|||
... 'Dcab: {0[Dcab]:d}'.format(table))
|
||||
Jack: 4098; Sjoerd: 4127; Dcab: 8637678
|
||||
|
||||
This could also be done by passing the table as keyword arguments with the '**'
|
||||
This could also be done by passing the ``table`` dictionary as keyword arguments with the ``**``
|
||||
notation. ::
|
||||
|
||||
>>> table = {'Sjoerd': 4127, 'Jack': 4098, 'Dcab': 8637678}
|
||||
|
|
Loading…
Reference in a new issue