def check_type_fields(api_doc, field_warnings):
    if isinstance(api_doc, RoutineDoc):
        for arg in api_doc.arg_types:
            if arg not in api_doc.all_args():
                for args, descr in api_doc.arg_descrs:
                    if arg in args:
                        break
                else:
                    field_warnings.append(BAD_PARAM % ('type', '"%s"' % arg))
Converts a sequence of (name, value) tuples into a dict where if
dataset/ETHPy150Open ardekantur/pyglet/tools/epydoc/epydoc/docstringparser.py/check_type_fields--crossover with--dataset/ETHPy150Open gholt/swiftly/swiftly/client/utils.py/headers_to_dict