  
  from rest_framework import exceptions, serializers
  from rest_framework.compat import coreapi, coreschema, uritemplate
  from rest_framework.settings import api_settings
  from rest_framework.utils import formatting
  
  from .generators import BaseSchemaGenerator
  from .inspectors import ViewInspector
  from .utils import get_pk_description, is_list_view
  
 
</s> remove from django.utils.encoding import force_str, smart_text
 </s> add from django.utils.encoding import force_str </s> remove # Generator

 </s> add  </s> remove # Used in _get_description_section()
# TODO: ???: move up to base.
header_regex = re.compile('^[a-zA-Z][0-9A-Za-z_]*:')

# Generator #

 </s> add 
  
  from rest_framework import exceptions, serializers
  from rest_framework.compat import coreapi, coreschema, uritemplate
  from rest_framework.settings import api_settings

  
  from .generators import BaseSchemaGenerator
  from .inspectors import ViewInspector
  from .utils import get_pk_description, is_list_view
  
keep keep keep keep replace keep keep keep keep keep
 OpenAPI: Ported docstring operation description from CoreAPI inspector. (#6898) 
rest_framework/schemas/coreapi.py