Skip to content

Commit

Permalink
fix typos in Toolbox.register() docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
loganthomas committed Oct 3, 2019
1 parent c64be70 commit e8c912e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deap/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ def __init__(self):
def register(self, alias, function, *args, **kargs):
"""Register a *function* in the toolbox under the name *alias*. You
may provide default arguments that will be passed automatically when
calling the registered function. Fixed arguments can then be overriden
calling the registered function. Fixed arguments can then be overridden
at function call time.
:param alias: The name the operator will take in the toolbox. If the
alias already exist it will overwrite the the operator
alias already exist it will overwrite the operator
already present.
:param function: The function to which refer the alias.
:param argument: One or more argument (and keyword argument) to pass
Expand Down

0 comments on commit e8c912e

Please sign in to comment.