forked from VimPlug/jedi
Remove _add_non_stubs_in_filter
This commit is contained in:
@@ -11,8 +11,6 @@ from jedi.evaluate.gradual.typing import TypingModuleFilterWrapper, AnnotatedCla
|
|||||||
|
|
||||||
|
|
||||||
class _StubContextMixin(object):
|
class _StubContextMixin(object):
|
||||||
_add_non_stubs_in_filter = False
|
|
||||||
|
|
||||||
def is_stub(self):
|
def is_stub(self):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@@ -25,8 +23,6 @@ class _StubContextMixin(object):
|
|||||||
|
|
||||||
|
|
||||||
class StubModuleContext(_StubContextMixin, ModuleContext):
|
class StubModuleContext(_StubContextMixin, ModuleContext):
|
||||||
_add_non_stubs_in_filter = True
|
|
||||||
|
|
||||||
def __init__(self, non_stub_context_set, *args, **kwargs):
|
def __init__(self, non_stub_context_set, *args, **kwargs):
|
||||||
super(StubModuleContext, self).__init__(*args, **kwargs)
|
super(StubModuleContext, self).__init__(*args, **kwargs)
|
||||||
self.non_stub_context_set = non_stub_context_set
|
self.non_stub_context_set = non_stub_context_set
|
||||||
|
|||||||
Reference in New Issue
Block a user