'The template as module.  This is used for imports in the
template runtime but is also useful if one wants to access
exported template variables from the Python layer:
>>> t = Template(\'{% macro foo() %}42{% endmacro %}23\')
>>> unicode(t.module)
u\'23\'
>>> t.module.foo()
u\'42\''

@property
def module(self):

    if (self._module is not None):
        return self._module
    self._module = rv = self.make_module()
    return rv
