mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
#9562: slight clarification.
This commit is contained in:
parent
a0fc3d37d3
commit
fda2106ac2
1 changed files with 1 additions and 1 deletions
|
@ -2157,7 +2157,7 @@ pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098:
|
||||||
existing keys. Return ``None``.
|
existing keys. Return ``None``.
|
||||||
|
|
||||||
:meth:`update` accepts either another dictionary object or an iterable of
|
:meth:`update` accepts either another dictionary object or an iterable of
|
||||||
key/value pairs (as a tuple or other iterable of length two). If keyword
|
key/value pairs (as tuples or other iterables of length two). If keyword
|
||||||
arguments are specified, the dictionary is then updated with those
|
arguments are specified, the dictionary is then updated with those
|
||||||
key/value pairs: ``d.update(red=1, blue=2)``.
|
key/value pairs: ``d.update(red=1, blue=2)``.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue