diff --git a/deap/tools/init.py b/deap/tools/init.py index 09c1e0d97..4d4391769 100644 --- a/deap/tools/init.py +++ b/deap/tools/init.py @@ -1,8 +1,8 @@ from __future__ import division def initRepeat(container, func, n): - """Call the function *container* with a generator function corresponding - to the calling *n* times the function *func*. + """Call the function *func* *n* times and return the results in a + container type `container` :param container: The type to put in the data from func. :param func: The function that will be called n times to fill the