summaryrefslogtreecommitdiff
path: root/Modules/_collectionsmodule.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-01-13 23:56:30 -0500
committerBenjamin Peterson <benjamin@python.org>2014-01-13 23:56:30 -0500
commite19d9d1467ef209fbcd4d9a55e4ba5e0861eff5f (patch)
treef5477dbcf5b9bcecfa7fd388719af550c8a00e65 /Modules/_collectionsmodule.c
parent3993d78fbd5fbb516e36750f83c47017ba29b21f (diff)
parent9cb33b7d0318e739024eb4adf5e7e2c26feaabaf (diff)
downloadcpython-git-e19d9d1467ef209fbcd4d9a55e4ba5e0861eff5f.tar.gz
merge 3.3 (#20250)
Diffstat (limited to 'Modules/_collectionsmodule.c')
-rw-r--r--Modules/_collectionsmodule.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c
index 310e67207e..c1aa9a30bc 100644
--- a/Modules/_collectionsmodule.c
+++ b/Modules/_collectionsmodule.c
@@ -1699,11 +1699,13 @@ defdict_init(PyObject *self, PyObject *args, PyObject *kwds)
}
PyDoc_STRVAR(defdict_doc,
-"defaultdict(default_factory) --> dict with default factory\n\
+"defaultdict(default_factory[, ...]) --> dict with default factory\n\
\n\
The default factory is called without arguments to produce\n\
a new value when a key is not present, in __getitem__ only.\n\
A defaultdict compares equal to a dict with the same items.\n\
+All remaining arguments are treated the same as if they were\n\
+passed to the dict constructor, including keyword arguments.\n\
");
/* See comment in xxsubtype.c */