Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e19d9d1

Browse files
committed
merge 3.3 (#20250)
2 parents 3993d78 + 9cb33b7 commit e19d9d1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Modules/_collectionsmodule.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1699,11 +1699,13 @@ defdict_init(PyObject *self, PyObject *args, PyObject *kwds)
16991699
}
17001700

17011701
PyDoc_STRVAR(defdict_doc,
1702-
"defaultdict(default_factory) --> dict with default factory\n\
1702+
"defaultdict(default_factory[, ...]) --> dict with default factory\n\
17031703
\n\
17041704
The default factory is called without arguments to produce\n\
17051705
a new value when a key is not present, in __getitem__ only.\n\
17061706
A defaultdict compares equal to a dict with the same items.\n\
1707+
All remaining arguments are treated the same as if they were\n\
1708+
passed to the dict constructor, including keyword arguments.\n\
17071709
");
17081710

17091711
/* See comment in xxsubtype.c */

0 commit comments

Comments
 (0)