Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstdtypes.tex @ 40331:2cf18f127663 legacy-trunk
Bug #1594758: wording improvement for dict.update() docs.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sat, 11 Nov 2006 18:32:47 +0000 |
| parents | 4460ec24dac9 |
| children | bf4d20476a86 eef725a40a66 |
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex Sat Nov 11 18:29:11 2006 +0000 +++ b/Doc/lib/libstdtypes.tex Sat Nov 11 18:32:47 2006 +0000 @@ -1424,7 +1424,8 @@ {(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}}
