From 2887d24710adb77743cd38b92c41dc6eedc7eec2 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 21 Aug 2010 21:54:50 +0200 Subject: Supply substitute implementation of itertools.(i)zip_longest. --- sphinx/versioning.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sphinx/versioning.py') 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 -- cgit v1.2.1