Skip to content

Commit

Permalink
Spelling fixes in deap/*.py comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
bje- committed May 4, 2015
1 parent 2687afd commit 883c837
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deap/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
in order to execute very common evolutionary algorithms. The method used here
are more for convenience than reference as the implementation of every
evolutionary algorithm may vary infinitely. Most of the algorithms in this
module use operators registered in the toolbox. Generaly, the keyword used are
module use operators registered in the toolbox. Generally, the keyword used are
:meth:`mate` for crossover, :meth:`mutate` for mutation, :meth:`~deap.select`
for selection and :meth:`evaluate` for evaluation.
Expand Down
2 changes: 1 addition & 1 deletion deap/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def register(self, alias, function, *args, **kargs):
The registered function will be given the attributes :attr:`__name__`
set to the alias and :attr:`__doc__` set to the original function's
documentation. The :attr:`__dict__` attribute will also be updated
with the original function's instance dictionnary, if any.
with the original function's instance dictionary, if any.
"""
pfunc = partial(function, *args, **kargs)
pfunc.__name__ = alias
Expand Down
2 changes: 1 addition & 1 deletion deap/gp.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
__type__ = object

class PrimitiveTree(list):
"""Tree specifically formated for optimization of genetic
"""Tree specifically formatted for optimization of genetic
programming operations. The tree is represented with a
list where the nodes are appended in a depth-first order.
The nodes appended to the tree are required to
Expand Down

0 comments on commit 883c837

Please sign in to comment.