as_context caching
This commit is contained in:
1 parent
8e60689bcf
commit
6fb49eaadf
10 files changed
+42
-33
No files matched your search
@@ -225,7 +225,7 @@ class ClassMixin(object):
|
||||
init_funcs = self.py__call__().py__getattribute__('__init__')
|
||||
return [sig.bind(self) for sig in init_funcs.get_signatures()]
|
||||
|
||||
def as_context(self):
|
||||
def _as_context(self):
|
||||
return ClassContext(self)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user