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: D300: Use """triple double quotes""".
  
  For consistency, always use """triple double quotes""" around
  docstrings. Use r"""raw triple double quotes""" if you use any
  backslashes in your docstrings. For Unicode docstrings, use
  u"""Unicode triple-quoted strings""".
  
  Note: Exception to this is made if the docstring contains
        """ quotes in its body.
docstr_tok: ["D300",":","Use","``","''","''","triple","double","quotes","''","''","''",".","For","consistency",",","always","use","``","''","''","triple","double","quotes","''","''","''","around","docstrings",".","Use","r","''","''","''","raw","triple","double","quotes","''","''","''","if","you","use","any","backslashes","in","your","docstrings",".","For","Unicode","docstrings",",","use","u","''","''","''","Unicode","triple-quoted","strings","''","''","''",".","Note",":","Exception","to","this","is","made","if","the","docstring","contains","``","''","''","quotes","in","its","body","."]
code: def check_triple_double_quotes(self, definition, docstring):
      r'''D300: Use """triple double quotes""".
  
      For consistency, always use """triple double quotes""" around
      docstrings. Use r"""raw triple double quotes""" if you use any
      backslashes in your docstrings. For Unicode docstrings, use
      u"""Unicode triple-quoted strings""".
  
      Note: Exception to this is made if the docstring contains
            """ quotes in its body.
  
      '''
      if docstring:
          if '"""' in ast.literal_eval(docstring):
              # Allow ''' quotes if docstring contains """, because
              # otherwise """ quotes could not be expressed inside
              # docstring. Not in PEP 257.
              regex = re(r"[uU]?[rR]?'''[^'].*")
          else:
              regex = re(r'[uU]?[rR]?"""[^"].*')
  
          if not regex.match(docstring):
              illegal_matcher = re(r"""[uU]?[rR]?("+|'+).*""")
              illegal_quotes = illegal_matcher.match(docstring).group(1)
              return violations.D300(illegal_quotes)
  
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 14 for calling the ConventionChecker obj's underlying member method code with example usage: obj.check_triple_double_quotes(definition, docstring) and returns: violations