forked from VimPlug/jedi
py3k/py2.5 compatibility, and a bugfix
This commit is contained in:
@@ -167,3 +167,8 @@ if is_py25:
|
||||
yield element
|
||||
itertools.chain = chain
|
||||
del chain
|
||||
|
||||
try:
|
||||
from functools import reduce
|
||||
except ImportError:
|
||||
reduce = reduce
|
||||
|
||||
Reference in New Issue
Block a user