parameters: (fields)
docstring: Iterate over fields.
  
      Supports list of (k, v) tuples and dicts, and lists of
      :class:`~urllib3.fields.RequestField`.
docstring_summary: Iterate over fields.
docstring_tokens: Iterate over fields .
function: def iter_field_objects(fields):
      """
      Iterate over fields.
  
      Supports list of (k, v) tuples and dicts, and lists of
      :class:`~urllib3.fields.RequestField`.
  
      """
      if isinstance(fields, dict):
          i = six.iteritems(fields)
      else:
          i = iter(fields)
  
      for field in i:
          if isinstance(field, RequestField):
              yield field
          else:
              yield RequestField.from_tuples(*field)
function_tokens: def iter_field_objects ( fields ) : if isinstance ( fields , dict ) : i = six . iteritems ( fields ) else : i = iter ( fields ) for field in i : if isinstance ( field , RequestField ) : yield field else : yield RequestField . from_tuples ( * field )