1
0
forked from VimPlug/jedi

Fix __getattribute__ and __getattr__.

This commit is contained in:
Dave Halter
2016-11-09 22:23:04 +01:00
parent 20380e80b0
commit 6899c8f646
4 changed files with 11 additions and 11 deletions

View File

@@ -73,9 +73,8 @@ class AbstractInstanceContext(Context):
def execute_function_slots(self, names, *evaluated_args):
return unite(
self.execute_evaluated(method, *evaluated_args)
name.execute_evaluated(*evaluated_args)
for name in names
for method in name.infer()
)
def get_descriptor_returns(self, obj):
@@ -208,7 +207,7 @@ class CompiledInstanceClassFilter(compiled.CompiledObjectFilter):
for name in names]
class BoundMethod(object):
class BoundMethod(Context):
def __init__(self, instance, class_context, function):
self._instance = instance
self._class_context = class_context