summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-11-11 18:32:47 (GMT)
committerGeorg Brandl <georg@python.org>2006-11-11 18:32:47 (GMT)
commit1ee79f16e859fd0a6ea3af64a539b5198b8ab7a3 (patch)
tree9808e1d803d80945bfe4173ce3d6ad915dbe1a26 /Doc
parent361bc21c5161eb4d37db76b30ad5e413a2705ac6 (diff)
downloadcpython-1ee79f16e859fd0a6ea3af64a539b5198b8ab7a3.zip
cpython-1ee79f16e859fd0a6ea3af64a539b5198b8ab7a3.tar.gz
cpython-1ee79f16e859fd0a6ea3af64a539b5198b8ab7a3.tar.bz2
Bug #1594758: wording improvement for dict.update() docs.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libstdtypes.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index 5bd6590..a9fb19b 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -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}}