def _GetFileAndLine():
<EOL>f = _sys._getframe()<EOL>our_file = f.f_code.co_filename<EOL>f = f.f_back<EOL>while f:<EOL><INDENT>code = f.f_code<EOL>if code.co_filename != our_file:<EOL><INDENT>return (code.co_filename, f.f_lineno)<EOL><DEDENT>f = f.f_back<EOL><DEDENT>return ('<STR_LIT>', <NUM_LIT:0>)<EOL>
Returns (filename, linenumber) for the stack frame.