diff --git a/deap/creator.py b/deap/creator.py index e51d8fad7..5e7acb070 100644 --- a/deap/creator.py +++ b/deap/creator.py @@ -20,8 +20,6 @@ import array import copy -import types - """Some classes in Python's standard library as well as third party library may be in part incompatible with the logic used in DEAP. In order to palliate @@ -58,8 +56,8 @@ def __array_finalize__(self, obj): # this might not be desirable for example in the case of an ES. self.__init__() - # Instead, e could use the following that will simply deepcopy every - # member that is present in the original class + # Instead, e could use the following that will simply deepcopy + # every member that is present in the original class # This is significantly slower. #if self.__class__ == obj.__class__: # self.__dict__.update(copy.deepcopy(obj.__dict__))