code: def _fetch_type_main(cls, cls_in, match):
          
  
          return cls._str_to_type(
              cls_in,
              match.group(cls._SUBMATCH_INDEX_TYPE_MAIN)
          )
docs: :type cls_in: type
          :type match: _sre.SRE_Match
  
          :rtype: type