Skip to content

Commit

Permalink
fix typo in numpy_array static method __new__
Browse files Browse the repository at this point in the history
  • Loading branch information
loganthomas committed Oct 3, 2019
1 parent 363076e commit 456ac37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deap/creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __deepcopy__(self, memo):
@staticmethod
def __new__(cls, iterable):
"""Creates a new instance of a numpy.ndarray from a function call.
Adds the possibility to instanciate from an iterable."""
Adds the possibility to instantiate from an iterable."""
return numpy.array(list(iterable)).view(cls)

def __setstate__(self, state):
Expand Down

0 comments on commit 456ac37

Please sign in to comment.