Skip to content

Commit

Permalink
Merge pull request #201 from irmen/py37_deprs
Browse files Browse the repository at this point in the history
fix for python 3.7 deprecation warning
  • Loading branch information
bbayles committed Apr 3, 2018
2 parents 3f37a67 + 42ea877 commit 703b1da
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion more_itertools/more.py
@@ -1,6 +1,6 @@
from __future__ import print_function

from collections import Counter, defaultdict, deque, Sequence
from collections import Counter, defaultdict, deque
from functools import partial, wraps
from heapq import merge
from itertools import (
Expand All @@ -17,6 +17,10 @@
)
from operator import itemgetter, lt, gt, sub
from sys import maxsize, version_info
try:
from collections.abc import Sequence
except ImportError:
from collections import Sequence

from six import binary_type, string_types, text_type
from six.moves import filter, map, range, zip, zip_longest
Expand Down

0 comments on commit 703b1da

Please sign in to comment.