def _unwrap_obj(self, fobj, fun):
try:<EOL><INDENT>prev_func_obj, next_func_obj = (<EOL>fobj.f_globals[fun],<EOL>getattr(fobj.f_globals[fun], "<STR_LIT>", None),<EOL>)<EOL>while next_func_obj:<EOL><INDENT>prev_func_obj, next_func_obj = (<EOL>next_func_obj,<EOL>getattr(next_func_obj, "<STR_LIT>", None),<EOL>)<EOL><DEDENT>return (prev_func_obj, inspect.getfile(prev_func_obj).replace("<STR_LIT>", "<STR_LIT>"))<EOL><DEDENT>except (KeyError, AttributeError, TypeError):<EOL><INDENT>return None, None<EOL><DEDENT>
Unwrap decorators.