diff options
author | Andrew Kuchling <amk@amk.ca> | 2013-06-22 23:04:11 (GMT) |
---|---|---|
committer | Andrew Kuchling <amk@amk.ca> | 2013-06-22 23:04:11 (GMT) |
commit | 446a39f78fa2d6c0fc12aa8a5facd85c84377e79 (patch) | |
tree | 565b689cf6ee185b46c85866c30ab4623ea4b693 /Modules/itertoolsmodule.c | |
parent | de3beb2617bd9bf56326502ea5964ca809bce017 (diff) | |
download | cpython-446a39f78fa2d6c0fc12aa8a5facd85c84377e79.zip cpython-446a39f78fa2d6c0fc12aa8a5facd85c84377e79.tar.gz cpython-446a39f78fa2d6c0fc12aa8a5facd85c84377e79.tar.bz2 |
Close #18285: add 'repeat' parameter to docstring for product
Diffstat (limited to 'Modules/itertoolsmodule.c')
-rw-r--r-- | Modules/itertoolsmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c index 401c684..1494f8d 100644 --- a/Modules/itertoolsmodule.c +++ b/Modules/itertoolsmodule.c @@ -2229,7 +2229,7 @@ static PyMethodDef product_methods[] = { }; PyDoc_STRVAR(product_doc, -"product(*iterables) --> product object\n\ +"product(*iterables, repeat=1) --> product object\n\ \n\ Cartesian product of input iterables. Equivalent to nested for-loops.\n\n\ For example, product(A, B) returns the same as: ((x,y) for x in A for y in B).\n\ |