Skip to content

Commit 2a88314

Browse files
committed
Drop support for EOL Python 2.7 and 3.4
1 parent 7773b0d commit 2a88314

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

cycler.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@
4545
from functools import reduce
4646
from itertools import product, cycle
4747
from operator import mul, add
48-
import sys
49-
50-
if sys.version_info < (3,):
51-
from itertools import izip as zip
5248

5349
__version__ = '0.10.0'
5450

doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@
272272
# If true, do not generate a @detailmenu in the "Top" node's menu.
273273
# texinfo_no_detailmenu = False
274274

275-
intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None),
275+
intersphinx_mapping = {'python': ('https://docs.python.org/3', None),
276276
'matplotlb': ('https://matplotlib.org', None)}
277277

278278
# ################ numpydoc config ####################

test_cycler.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
from collections import defaultdict
22
from operator import add, iadd, mul, imul
33
from itertools import product, cycle, chain
4-
import sys
54

65
import pytest
76

87
from cycler import cycler, Cycler, concat
98

10-
if sys.version_info < (3,):
11-
from itertools import izip as zip
12-
range = xrange # noqa
13-
str = unicode # noqa
14-
159

1610
def _cycler_helper(c, length, keys, values):
1711
assert len(c) == length

0 commit comments

Comments
 (0)