1
0
forked from VimPlug/jedi

InstanceElement should always be the same, cache them

This commit is contained in:
David Halter
2012-08-24 18:01:39 +02:00
parent c0324b1d68
commit 3a95cce7ae

View File

@@ -255,6 +255,8 @@ class Instance(Executable):
class InstanceElement(object):
__metaclass__ = CachedMetaClass
def __init__(self, instance, var):
if isinstance(var, parsing.Function):
var = Function(var)