Skip to content

Commit

Permalink
Merge pull request DEAP#502 from yoonghm/patch-1
Browse files Browse the repository at this point in the history
Update documentation for deap.tools.initRepeat()
  • Loading branch information
fmder authored Oct 4, 2020
2 parents 38083e5 + 40702cf commit 460d102
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deap/tools/init.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 460d102

Please sign in to comment.