  from importlib import import_module
  
  from django.core.exceptions import ViewDoesNotExist
  from django.utils import lru_cache, six
  from django.utils.module_loading import module_has_submodule
  
  
  @lru_cache.lru_cache(maxsize=None)
  def get_callable(lookup_view):
 
</s> remove from django.utils import dateformat, datetime_safe, numberformat, six
 </s> add from django.utils import dateformat, datetime_safe, numberformat </s> remove from django.utils.six import string_types, text_type
 </s> add  </s> remove from django.utils import lru_cache, six
 </s> add from django.utils import lru_cache </s> remove from django.utils import six
 </s> add  </s> remove from django.utils import six
 </s> add 
from django.utils import lru_cache
  from importlib import import_module
  
  from django.core.exceptions import ViewDoesNotExist
from django.utils import lru_cache
  from django.utils.module_loading import module_has_submodule
  
  
  @lru_cache.lru_cache(maxsize=None)
  def get_callable(lookup_view):
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/utils.py