code: def _collect_conflicts_within(
      context,  # type: ValidationContext
      conflicts,  # type: List[Tuple[Tuple[str, str], List[Node], List[Node]]]
      cached_fields_and_fragment_names,  # type: Dict[SelectionSet, Tuple[Dict[str, List[Tuple[Union[GraphQLInterfaceType, GraphQLObjectType, None], Field, GraphQLField]]], List[str]]]
      compared_fragments,  # type: PairSet
      field_map,  # type: Dict[str, List[Tuple[Union[GraphQLInterfaceType, GraphQLObjectType, None], Field, GraphQLField]]]
  ):
      # type: (...) -> None
      
  
      # field map is a keyed collection, where each key represents a response
      # name and the value at that key is a list of all fields which provide that
      # response name. For every response name, if there are multiple fields, they
      # must be compared to find a potential conflict.
      for response_name, fields in list(field_map.items()):
          # This compares every field in the list to every other field in this list
          # (except to itself). If the list only has one item, nothing needs to
          # be compared.
          for i, field in enumerate(fields):
              for other_field in fields[i + 1 :]:
                  # within one collection is never mutually exclusive
                  conflict = _find_conflict(
                      context,
                      cached_fields_and_fragment_names,
                      compared_fragments,
                      False,
                      response_name,
                      field,
                      other_field,
                  )
                  if conflict:
                      conflicts.append(conflict)
docs: Collect all Conflicts "within" one collection of fields.