  """
  Helpers for dealing with HTML input.
  """
  import re
  
  
  def is_html_input(dictionary):
      # MultiDict type datastructures are used to represent HTML form input,
      # which may have more than one value for each key.
 
</s> remove             ret[index] = Dict({key: value})
 </s> add             ret[index] = MultiValueDict({key: [value]}) </s> remove     Dict = type(dictionary)
 </s> add 
from django.utils.datastructures import MultiValueDict
  """
  Helpers for dealing with HTML input.
  """
  import re
from django.utils.datastructures import MultiValueDict
  
  
  def is_html_input(dictionary):
      # MultiDict type datastructures are used to represent HTML form input,
      # which may have more than one value for each key.
keep keep keep add keep keep keep keep keep
 Tests & fixes for list serialization 
rest_framework/utils/html.py