py3k/py2.5 compatibility, and a bugfix

This commit is contained in:
David Halter committed 2012-12-16 04:03:46 +01:00
1 parent 36b75c3e15
commit 5f76ffdfe8
2 files changed
+7 -3

No files matched your search

+5
View File
@@ -167,3 +167,8 @@ if is_py25:
yield element
itertools.chain = chain
del chain
try:
from functools import reduce
except ImportError:
reduce = reduce