Creates a template object from a module.  This is used by the
        module loader to create a template object.

        .. versionadded:: 2.4

def from_module_dict(cls, environment, module_dict, globals):
        """Creates a template object from a module.  This is used by the
        module loader to create a template object.

        .. versionadded:: 2.4
        """
        return cls._from_namespace(environment, module_dict, globals)