parameters: (fields)
return_statement: return ((k, v) for k, v in fields)
docstring: Iterate over fields.
  
      .. deprecated ::
  
        The addition of `~urllib3.fields.RequestField` makes this function
        obsolete. Instead, use :func:`iter_field_objects`, which returns
        `~urllib3.fields.RequestField` objects, instead.
  
      Supports list of (k, v) tuples and dicts.
docstring_summary: Iterate over fields.
docstring_tokens: Iterate over fields .
function: def iter_fields(fields):
      """
      Iterate over fields.
  
      .. deprecated ::
  
        The addition of `~urllib3.fields.RequestField` makes this function
        obsolete. Instead, use :func:`iter_field_objects`, which returns
        `~urllib3.fields.RequestField` objects, instead.
  
      Supports list of (k, v) tuples and dicts.
  
      """
      if isinstance(fields, dict):
          return ((k, v) for k, v in six.iteritems(fields))
  
      return ((k, v) for k, v in fields)
function_tokens: def iter_fields ( fields ) : if isinstance ( fields , dict ) : return ( ( k , v ) for k , v in six . iteritems ( fields ) ) return ( ( k , v ) for k , v in fields )