                      sort_keys=True,
                      indent=4,
                      separators=(',', ': '),
                  )
              except (TypeError, ValueError):
                  pass
          return self.__class__(self._field, value, self.errors, self._prefix)
  
  
  class NestedBoundField(BoundField):
      """
 
</s> remove             try:
 </s> add             with contextlib.suppress(TypeError, ValueError): </s> remove             except (KeyError, ValueError):
                pass

 </s> add  </s> remove             except (KeyError, ValueError):
                pass

 </s> add  </s> remove             except (KeyError, ValueError):
                pass

 </s> add  </s> remove         try:
 </s> add         with contextlib.suppress(KeyError):
                      sort_keys=True,
                      indent=4,
                      separators=(',', ': '),
                  )


          return self.__class__(self._field, value, self.errors, self._prefix)
  
  
  class NestedBoundField(BoundField):
      """
keep keep keep keep replace replace keep keep keep keep keep
 Refactor: Replace try/except with contextlib.suppress() (#8676) 
rest_framework/utils/serializer_helpers.py