Fix the weird py__path__ behavior

This commit is contained in:
Dave Halter committed 2019-08-21 23:08:42 +02:00
1 parent 592f3771fc
commit 2fb04db0ab
7 files changed
+49 -54

No files matched your search

+4
View File
@@ -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)