From: Andrew Kuchling Date: Sat, 22 Jun 2013 23:04:11 +0000 (-0400) Subject: Close #18285: add 'repeat' parameter to docstring for product X-Git-Tag: v3.4.0a1~424^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=446a39f78fa2d6c0fc12aa8a5facd85c84377e79;p=thirdparty%2FPython%2Fcpython.git Close #18285: add 'repeat' parameter to docstring for product --- diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c index 401c684e5885..1494f8d6784c 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\