forked from VimPlug/jedi
refactored testing interface
This commit is contained in:
@@ -101,3 +101,8 @@ class Python3Method(object):
|
||||
else:
|
||||
return lambda *args, **kwargs: self.func(obj, *args, **kwargs)
|
||||
|
||||
try:
|
||||
# the python3 way
|
||||
from functools import reduce
|
||||
except ImportError:
|
||||
reduce = reduce
|
||||
|
||||
Reference in New Issue
Block a user