def iter_field_objects(fields):
if isinstance(fields, dict):<EOL><INDENT>i = six.iteritems(fields)<EOL><DEDENT>else:<EOL><INDENT>i = iter(fields)<EOL><DEDENT>for field in i:<EOL><INDENT>if isinstance(field, RequestField):<EOL><INDENT>yield field<EOL><DEDENT>else:<EOL><INDENT>yield RequestField.from_tuples(*field)<EOL><DEDENT><DEDENT>
Iterate over fields.

Supports list of (k, v) tuples and dicts, and lists of
:class:`~urllib3.fields.RequestField`.