Skip to content

Commit

Permalink
Not supporting Python 3.3 and less
Browse files Browse the repository at this point in the history
  • Loading branch information
fmder authored Jul 23, 2023
1 parent 9aaa88d commit ef05d4b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions deap/benchmarks/movingpeaks.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
import itertools
import random

try:
from collections.abc import Sequence
except ModuleNotFoundError:
from collections import Sequence
from collections.abc import Sequence


def cone(individual, position, height, width):
Expand Down

0 comments on commit ef05d4b

Please sign in to comment.