code: def _entry_offset(self, index, entries, description):
          '''
          Gets the offset of the first entry that matches the description.
  
          @index       - Index into the entries list to begin searching.
          @entries     - Dictionary of result entries.
          @description - Case insensitive description.
  
          Returns the offset, if a matching description is found.
          Returns -1 if a matching description is not found.
          '''
          description = description.lower()
  
          for (offset, infos) in entries[index:]:
              for info in infos:
                  if info['description'].lower().startswith(description):
                      return offset
          return -f _entry_offset(self, index, entries, description):
          '''
          Gets the offset of the first entry that matches the description.
  
          @index       - Index into the entries list to begin searching.
          @entries     - Dictionary of result entries.
          @description - Case insensitive description.
  
          Returns the offset, if a matching description is found.
          Returns -1 if a matching description is not found.
          '''
          description = description.lower()
  
          for (offset, infos) in entries[index:]:
              for info in infos:
                  if info['description'].lower().startswith(description):
                      return offset
          return -1
docs: Gets the offset of the first entry that matches the description.
  
          @index       - Index into the entries list to begin searching.
          @entries     - Dictionary of result entries.
          @description - Case insensitive description.
  
          Returns the offset, if a matching description is found.
          Returns -1 if a matching description is not found.