1
0
forked from VimPlug/jedi

Remove double reduce import

This commit is contained in:
Laurens Van Houtven
2013-06-20 20:09:46 +02:00
parent d5d12716b1
commit e201f89a77

View File

@@ -157,13 +157,6 @@ 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
def use_metaclass(meta, *bases):
""" Create a class with a metaclass. """
if not bases: