From 40702cf2493c9bed0a2e098ed96825641d816c98 Mon Sep 17 00:00:00 2001 From: YoongHM Date: Sat, 22 Aug 2020 14:58:57 +0800 Subject: [PATCH] Update documentation for deap.tools.initRepeat() Update documentation for deap.tools.initRepeat() --- deap/tools/init.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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