as_context caching

This commit is contained in:
Dave Halter
2019-08-18 17:52:15 +02:00
parent 8e60689bcf
commit 6fb49eaadf
10 changed files with 42 additions and 33 deletions

View File

@@ -59,7 +59,7 @@ class TypingModuleWrapper(StubModuleValue):
for f in filters:
yield f
def as_context(self):
def _as_context(self):
return TypingModuleContext(self)