                  if field_name not in attrs:
                      attrs[field_name] = getattr(self.instance, field_name)
  
          # Determine the filter keyword arguments and filter the queryset.
          filter_kwargs = dict([
              (field_name, attrs[field_name])
              for field_name in self.fields
          ])
          return queryset.filter(**filter_kwargs)
  
      def exclude_current_instance(self, attrs, queryset):
 
</s> remove         ])
 </s> add         } </s> remove         ])
 </s> add         } </s> remove         ])
 </s> add         } </s> remove         missing = dict([
            (field_name, self.missing_message)
 </s> add         missing = {
            field_name: self.missing_message </s> remove         missing = dict([
            (field_name, self.missing_message)
 </s> add         missing = {
            field_name: self.missing_message
        filter_kwargs = {
            field_name: attrs[field_name]
                  if field_name not in attrs:
                      attrs[field_name] = getattr(self.instance, field_name)
  
          # Determine the filter keyword arguments and filter the queryset.
        filter_kwargs = {
            field_name: attrs[field_name]
        filter_kwargs = {
            field_name: attrs[field_name]
              for field_name in self.fields
          ])
          return queryset.filter(**filter_kwargs)
  
      def exclude_current_instance(self, attrs, queryset):
keep keep keep keep replace replace keep keep keep keep keep
 Replaced all dict and set conversions from lists to dict and set literals. 
rest_framework/validators.py