Commit 7bb36786 authored by Georg Brandl's avatar Georg Brandl

Bug #1594758: wording improvement for dict.update() docs.

parent 41b2f87a
...@@ -1424,7 +1424,8 @@ arbitrary objects): ...@@ -1424,7 +1424,8 @@ arbitrary objects):
{(3)} {(3)}
\lineiii{\var{a}.keys()}{a copy of \var{a}'s list of keys}{(3)} \lineiii{\var{a}.keys()}{a copy of \var{a}'s list of keys}{(3)}
\lineiii{\var{a}.update(\optional{\var{b}})} \lineiii{\var{a}.update(\optional{\var{b}})}
{updates (and overwrites) key/value pairs from \var{b}} {updates \var{a} with key/value pairs from \var{b}, overwriting
existing keys, returns \code{None}}
{(9)} {(9)}
\lineiii{\var{a}.fromkeys(\var{seq}\optional{, \var{value}})} \lineiii{\var{a}.fromkeys(\var{seq}\optional{, \var{value}})}
{Creates a new dictionary with keys from \var{seq} and values set to \var{value}} {Creates a new dictionary with keys from \var{seq} and values set to \var{value}}
......
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