mirror of https://github.com/python/cpython.git
gh-93240: clarify wording in IO tutorial (GH-93276) (GH-94081)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
(cherry picked from commit 51d673176a
)
Co-authored-by: paulreece <96156234+paulreece@users.noreply.github.com>
This commit is contained in:
parent
9ab245f8ca
commit
6432a8972b
|
@ -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 New Issue