def module_enclosing_func(offset):  
def module_closure_func(self):<EOL><INDENT>"""<STR_LIT>"""<EOL>self._exobj.add_exception(<EOL>exname="<STR_LIT>",<EOL>extype=TypeError,<EOL>exmsg="<STR_LIT>",<EOL>)<EOL>return self._value1 + offset<EOL><DEDENT>return module_closure_func<EOL>
Test function to see if module-level enclosures are detected.