def __init__(self, candidates=[], **kwargs):
        self.population = candidates
        self.generation = 0
        # Set GA.fitness(), crossover(), mutate() from function.
        for f in ("fitness", "combine", "mutate"):
            if f in kwargs:
                setattr(self, f, types.MethodType(kwargs[f], self))
Split the card image between the keyword and the rest of the card.
dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/GeneticAlgorithm.__init__--crossover with--dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/card.py/Card._split