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

(backport from rev. 52733)
This commit is contained in:
Georg Brandl 2006-11-11 18:32:50 +00:00
parent c33b7488de
commit 8fc42c8aad
1 changed files with 2 additions and 1 deletions

View File

@ -1424,7 +1424,8 @@ arbitrary objects):
{(3)}
\lineiii{\var{a}.keys()}{a copy of \var{a}'s list of keys}{(3)}
\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)}
\lineiii{\var{a}.fromkeys(\var{seq}\optional{, \var{value}})}
{Creates a new dictionary with keys from \var{seq} and values set to \var{value}}