class_docstr: Checker for PEP 257, NumPy and Google conventions.
  
  D10x: Missing docstrings
  D20x: Whitespace issues
  D30x: Docstring formatting
  D40x: Docstring content issues
class_docstr_tok: ["Checker","for","PEP","257",",","NumPy","and","Google","conventions",".","D10x",":","Missing","docstrings","D20x",":","Whitespace","issues","D30x",":","Docstring","formatting","D40x",":","Docstring","content","issues"]
docstr: D301: Use r""" if any backslashes in a docstring.
  
  Use r"""raw triple double quotes""" if you use any backslashes
  (\) in your docstrings.
  
  Exceptions are backslashes for line-continuation and unicode escape
  sequences \N... and \u... These are considered intended unescaped
  content in docstrings.
docstr_tok: ["D301",":","Use","r","''","''","''","if","any","backslashes","in","a","docstring",".","Use","r","''","''","''","raw","triple","double","quotes","''","''","''","if","you","use","any","backslashes","(","\\",")","in","your","docstrings",".","Exceptions","are","backslashes","for","line-continuation","and","unicode","escape","sequences","\\N","...","and","\\u","...","These","are","considered","intended","unescaped","content","in","docstrings","."]
code: def check_backslashes(self, definition, docstring):
      r'''D301: Use r""" if any backslashes in a docstring.
  
      Use r"""raw triple double quotes""" if you use any backslashes
      (\) in your docstrings.
  
      Exceptions are backslashes for line-continuation and unicode escape
      sequences \N... and \u... These are considered intended unescaped
      content in docstrings.
      '''
      # Just check that docstring is raw, check_triple_double_quotes
      # ensures the correct quotes.
  
      if (
          docstring
          and re(r"\\[^\nuN]").search(docstring)
          and not docstring.startswith(("r", "ur"))
      ):
          return violations.D301()
  
imports: import ast
  import string
  import tokenize
  from collections import namedtuple
  from itertools import chain, takewhile
  from re import compile
  from textwrap import dedent
  from .None import violations
  from .config import IllegalConfiguration
  from .parser import AllError, Class, Definition, Function, Method, Module, NestedClass, NestedFunction, Package, ParseError, Parser, StringIO
  from .utils import common_prefix_length, is_blank, log, pairwise, strip_non_alphanumeric
  from .wordlists import IMPERATIVE_BLACKLIST, IMPERATIVE_VERBS, stem
label_desc: Use image node_id 15 for calling the ConventionChecker obj's underlying member method code with example usage: obj.check_backslashes(definition, docstring) and returns: violations