forked from VimPlug/jedi
Fix the whole test suite of descriptors.
This commit is contained in:
@@ -65,7 +65,7 @@ class CompiledObject(Context):
|
||||
|
||||
@CheckAttribute
|
||||
def py__mro__(self):
|
||||
return tuple(create(self.evaluator, cls) for cls in self.obj.__mro__)
|
||||
return (self,) + tuple(create(self.evaluator, cls) for cls in self.obj.__mro__[1:])
|
||||
|
||||
@CheckAttribute
|
||||
def py__bases__(self):
|
||||
|
||||
Reference in New Issue
Block a user