summaryrefslogtreecommitdiff
path: root/sphinx/versioning.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/versioning.py')
-rw-r--r--sphinx/versioning.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/sphinx/versioning.py b/sphinx/versioning.py
index 0ea494f06..5b0b2127e 100644
--- a/sphinx/versioning.py
+++ b/sphinx/versioning.py
@@ -12,12 +12,8 @@
from uuid import uuid4
from operator import itemgetter
from collections import defaultdict
-try:
- from itertools import izip_longest as zip_longest
-except ImportError:
- from itertools import zip_longest
-from sphinx.util.pycompat import product
+from sphinx.util.pycompat import product, zip_longest
# anything below that ratio is considered equal/changed