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

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:
Łukasz Langa 2022-06-21 21:51:15 +02:00 committed by GitHub
parent b1b0656805
commit c76e6f745c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -179,7 +179,7 @@ square brackets ``'[]'`` to access the keys. ::
... 'Dcab: {0[Dcab]:d}'.format(table)) ... 'Dcab: {0[Dcab]:d}'.format(table))
Jack: 4098; Sjoerd: 4127; Dcab: 8637678 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. :: notation. ::
>>> table = {'Sjoerd': 4127, 'Jack': 4098, 'Dcab': 8637678} >>> table = {'Sjoerd': 4127, 'Jack': 4098, 'Dcab': 8637678}