1
0
forked from VimPlug/jedi

Remove infer_state from filters

This commit is contained in:
Dave Halter
2019-08-16 09:41:23 +02:00
parent 600272366f
commit 9ee6285414
8 changed files with 13 additions and 21 deletions

View File

@@ -208,7 +208,7 @@ class ClassMixin(object):
yield filter
else:
yield ClassFilter(
self.infer_state, self, node_value=cls,
self, node_value=cls,
origin_scope=origin_scope,
is_instance=is_instance
)
@@ -230,7 +230,6 @@ class ClassMixin(object):
def get_global_filter(self, until_position=None, origin_scope=None):
return ParserTreeFilter(
self.infer_state,
value=self,
until_position=until_position,
origin_scope=origin_scope