Commit fda2106a authored by Georg Brandl's avatar Georg Brandl

#9562: slight clarification.

parent a0fc3d37
...@@ -2157,7 +2157,7 @@ pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098: ...@@ -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)``.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment