mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Minor doc improvement (GH-10341)
Change "star-operator" to "* operator".
This commit is contained in:
parent
484f20d2ff
commit
dfd775a0b1
2 changed files with 3 additions and 3 deletions
|
@ -971,7 +971,7 @@ function:
|
|||
>>> getattr(p, 'x')
|
||||
11
|
||||
|
||||
To convert a dictionary to a named tuple, use the double-star-operator
|
||||
To convert a dictionary to a named tuple, use the ``**`` operator
|
||||
(as described in :ref:`tut-unpacking-arguments`):
|
||||
|
||||
>>> d = {'x': 11, 'y': 22}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue