Fix the weird py__path__ behavior
This commit is contained in:
1 parent
592f3771fc
commit
2fb04db0ab
7 files changed
+49
-54
No files matched your search
@@ -61,6 +61,10 @@ class ImplicitNamespaceValue(Value, SubModuleDictMixin):
|
||||
def is_stub(self):
|
||||
return False
|
||||
|
||||
@property
|
||||
def is_package(self):
|
||||
return True
|
||||
|
||||
def as_context(self):
|
||||
return NamespaceContext(self)
|
||||
|
||||
|
||||
Reference in new issue
Block a user