pymor.tools.formatsrc¶ Functions format_source Format source code of an object. print_source Print source code of an object. pymor.tools.formatsrc.format_source(obj)[source]¶ Format source code of an object. Parameters: obj – The object of which to format the source code. Returns: source – The source code as a string, possibly highlighted when used in a terminal. pymor.tools.formatsrc.print_source(obj)[source]¶ Print source code of an object. Parameters: obj – The object of which to print the source code.