end_frame = traceback.extract_stack()[0]
assert start_frame.filename == end_frame.filename
with open(start_frame.filename) as source_file:
lines = slice(start_frame.lineno, end_frame.lineno)source = "".join(source_file.readlines()[lines])
code.markdown(f"```\n{textwrap.dedent(source)}\n```")
// This is a necessary (but not sufficient) condition to establish that this
// is the proxy process.