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

This commit is contained in:
Georg Brandl 2006-11-11 18:32:47 +00:00
parent 361bc21c51
commit 1ee79f16e8
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}}