1
0
forked from VimPlug/jedi

get_filters should always have the default search_global=False

This commit is contained in:
Dave Halter
2018-09-06 01:06:09 +02:00
parent 4730c71b16
commit a5e6f26267
9 changed files with 12 additions and 11 deletions

View File

@@ -479,7 +479,7 @@ class _AbstractAnnotatedClass(ClassContext):
def get_type_var_filter(self):
return TypeVarFilter(self.get_given_types(), self.find_annotation_variables())
def get_filters(self, search_global, *args, **kwargs):
def get_filters(self, search_global=False, *args, **kwargs):
for f in super(_AbstractAnnotatedClass, self).get_filters(search_global, *args, **kwargs):
yield f