          raise Resolver404({'path': path})
  
      @cached_property
      def urlconf_module(self):
          if isinstance(self.urlconf_name, six.string_types):
              return import_module(self.urlconf_name)
          else:
              return self.urlconf_name
  
      @cached_property
 
</s> remove         if isinstance(self.permission_required, six.string_types):
 </s> add         if isinstance(self.permission_required, str): </s> remove         if isinstance(key, six.string_types):
 </s> add         if isinstance(key, str): </s> remove         if not issubclass(type(s), six.string_types):
 </s> add         if not issubclass(type(s), str): </s> remove     if isinstance(s, six.memoryview):
 </s> add     if isinstance(s, memoryview): </s> remove         if isinstance(srid, six.integer_types) or srid is None:
 </s> add         if isinstance(srid, int) or srid is None:
        if isinstance(self.urlconf_name, str):
          raise Resolver404({'path': path})
  
      @cached_property
      def urlconf_module(self):
        if isinstance(self.urlconf_name, str):
              return import_module(self.urlconf_name)
          else:
              return self.urlconf_name
  
      @cached_property
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed six.<various>_types usage

Thanks Tim Graham and Simon Charette for the reviews. 
django/urls/resolvers.py