Browse Source

merge 3.3 (#20250)

pull/224/head
Benjamin Peterson 12 years ago
parent
commit
e19d9d1467
  1. 4
      Modules/_collectionsmodule.c

4
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 */

Loading…
Cancel
Save