]> granicus.if.org Git - python/commitdiff
Bug #1594758: wording improvement for dict.update() docs.
authorGeorg Brandl <georg@python.org>
Sat, 11 Nov 2006 18:32:50 +0000 (18:32 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 11 Nov 2006 18:32:50 +0000 (18:32 +0000)
 (backport from rev. 52733)

Doc/lib/libstdtypes.tex

index 5bd6590cde518940a6fceb3b30bc96371523e36e..a9fb19ba3d44d054450671466f19ecf1b388ed1a 100644 (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}}