def trace_module(no_print=True):
with pexdoc.ExDocCxt() as exdoc_obj:<EOL><INDENT>try:<EOL><INDENT>docs.support.my_module.func("<STR_LIT>")<EOL>obj = docs.support.my_module.MyClass()<EOL>obj.value = <NUM_LIT:5><EOL>obj.value<EOL><DEDENT>except:<EOL><INDENT>raise RuntimeError("<STR_LIT>")<EOL><DEDENT><DEDENT>if not no_print:<EOL><INDENT>module_prefix = "<STR_LIT>"<EOL>callable_names = ["<STR_LIT>", "<STR_LIT>"]<EOL>for callable_name in callable_names:<EOL><INDENT>callable_name = module_prefix + callable_name<EOL>print("<STR_LIT>".format(callable_name))<EOL>print(exdoc_obj.get_sphinx_doc(callable_name, width=<NUM_LIT>))<EOL>print("<STR_LIT:\n>")<EOL><DEDENT><DEDENT>return copy.copy(exdoc_obj)<EOL>
Trace my_module_original exceptions.