diff options
author | Georg Brandl <georg@python.org> | 2010-08-21 21:54:50 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-08-21 21:54:50 +0200 |
commit | 2887d24710adb77743cd38b92c41dc6eedc7eec2 (patch) | |
tree | 26684da7d082faaa1a3de941698cbd417aa0f63d /sphinx/versioning.py | |
parent | 043579e468f2746ad5467e0bc45f50eaa22720b2 (diff) | |
download | sphinx-git-2887d24710adb77743cd38b92c41dc6eedc7eec2.tar.gz |
Supply substitute implementation of itertools.(i)zip_longest.
Diffstat (limited to 'sphinx/versioning.py')
-rw-r--r-- | sphinx/versioning.py | 6 |
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 |