@check_for(Definition)<EOL><INDENT>def check_backslashes(self, definition, docstring):<DEDENT>
<EOL>if docstring and '<STR_LIT:\\>' in docstring and not docstring.startswith(<EOL>('<STR_LIT:r>', '<STR_LIT>')):<EOL><INDENT>return violations.D301()<EOL><DEDENT>
r'''D301: Use r""" if any backslashes in a docstring.

        Use r"""raw triple double quotes""" if you use any backslashes
        (\) in your docstrings.