Lines Matching defs:module
749 `defer_init` is use internally to aid the module code generator. This
1234 """Creates a template object from a module. This is used by the
1235 module loader to create a template object.
1255 # render function and module
1398 """This method works like the :attr:`module` attribute when called
1413 """As template module creation can invoke template code for
1415 normal :meth:`make_module` one. Likewise the module attribute
1430 If there are new globals, we need to create a new module because
1431 the cached module is already rendered and will not have access
1432 to globals from the current context. This new module is not
1465 def module(self) -> "TemplateModule":
1466 """The template as module. This is used for imports in the
1471 >>> str(t.module)
1473 >>> t.module.foo() == u'42'
1531 " a template module. Use the async methods of the"