summaryrefslogtreecommitdiff
path: root/Objects/dictobject.c
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-05-11 14:46:48 -0400
committerBrett Cannon <brett@python.org>2013-05-11 14:46:48 -0400
commitbf1ecdb264e1c5aaa25957c3f07291d886fad386 (patch)
treef9f3e5b21138a0fba1f6c8a6d44c504d0ff23ce5 /Objects/dictobject.c
parentd2f4d1dea6020ef0beb1ca8b5f210b2496fa5fe4 (diff)
downloadcpython-bf1ecdb264e1c5aaa25957c3f07291d886fad386.tar.gz
Touch up grammar for dict.update() docstring.
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r--Objects/dictobject.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index 208888db0e..bf9ec550b3 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -2473,10 +2473,10 @@ PyDoc_STRVAR(popitem__doc__,
2-tuple; but raise KeyError if D is empty.");
PyDoc_STRVAR(update__doc__,
-"D.update([E, ]**F) -> None. Update D from dict/iterable E and F.\n"
-"If E present and has a .keys() method, does: for k in E: D[k] = E[k]\n\
-If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v\n\
-In either case, this is followed by: for k in F: D[k] = F[k]");
+"D.update([E, ]**F) -> None. Update D from dict/iterable E and F.\n\
+If E is present and has a .keys() method, then does: for k in E: D[k] = E[k]\n\
+If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v\n\
+In either case, this is followed by: for k in F: D[k] = F[k]");
PyDoc_STRVAR(fromkeys__doc__,
"dict.fromkeys(S[,v]) -> New dict with keys from S and values equal to v.\n\