docs: def _set_ansi_escape_codes():
      """
      Injects *ANSI* escape codes into :class:`AnsiEscapeCodes` class.
      """
  
      AnsiEscapeCodes["reset"] = "\033[0m"
  
      for foreground_code_name, foreground_code in FOREGROUND_ANSI_ESCAPE_CODES:
          AnsiEscapeCodes[foreground_code_name] = "\033[{0}".format(foreground_code)
  
      for background_code_name, background_code in BACKGROUND_ANSI_ESCAPE_CODES:
          AnsiEscapeCodes[background_code_name] = "\033[{0}".format(background_code)
  
      for background_code_name, background_code in BACKGROUND_ANSI_ESCAPE_CODES:
          for foreground_code_name, foreground_code in FOREGROUND_ANSI_ESCAPE_CODES:
              AnsiEscapeCodes["{0}{1}".format(foreground_code_name,
                                              "{0}{1}".format(background_code_name[0].upper(),
                                                              background_code_name[1:]))] = "\033[{0}\033[{1}".format(
                  foreground_code, background_code)