as_context caching
This commit is contained in:
1 parent
8e60689bcf
commit
6fb49eaadf
10 files changed
+42
-33
No files matched your search
@@ -275,7 +275,7 @@ class ModuleValue(ModuleMixin, TreeValue):
|
||||
else:
|
||||
raise AttributeError('Only packages have __path__ attributes.')
|
||||
|
||||
def as_context(self):
|
||||
def _as_context(self):
|
||||
return ModuleContext(self)
|
||||
|
||||
def __repr__(self):
|
||||
|
||||
Reference in new issue
Block a user