Use r""" if any backslashes in a docstring
15
16
17def format_output(file: str, text: str, string_format: str) -> str:
18 """Format the output sent to the Editor. 19
20 >>> format_output('/path/to/file.py', 'hello world', '%d %f %F %t %n')
21 >>> '12:00:00 /path/to/file.py file.py hello world \\n'
Description
If there are backslashes in a docstring, please use raw strings.