def _source_info():
ofi = inspect.getouterframes(inspect.currentframe())[<NUM_LIT:2>]<EOL>try:<EOL><INDENT>calling_class = ofi[<NUM_LIT:0>].f_locals['<STR_LIT>'].__class__<EOL><DEDENT>except KeyError:<EOL><INDENT>calling_class = None<EOL><DEDENT>return ofi[<NUM_LIT:1>], ofi[<NUM_LIT:2>], calling_class, ofi[<NUM_LIT:3>]<EOL>
Get information from the user's code (two frames up)
to leave breadcrumbs for file, line, class and function.