          """
          When a field is instantiated, we store the arguments that were used,
          so that we can present a helpful representation of the object.
          """
          instance = super(Field, cls).__new__(cls)
          instance._args = args
          instance._kwargs = kwargs
          return instance
  
      def __deepcopy__(self, memo):
 
</s> remove         class AuthRaisesAttributeError(object):
 </s> add         class AuthRaisesAttributeError: </s> remove         super(ForceAuthClientHandler, self).__init__(*args, **kwargs)
 </s> add         super().__init__(*args, **kwargs) </s> remove @python_2_unicode_compatible
class PKOnlyObject(object):
 </s> add class PKOnlyObject: </s> remove         class MockQueryset(object):
 </s> add         class MockQueryset: </s> remove class ErrorDetail(six.text_type):
 </s> add class ErrorDetail(str):
        instance = super().__new__(cls)
          """
          When a field is instantiated, we store the arguments that were used,
          so that we can present a helpful representation of the object.
          """
        instance = super().__new__(cls)
          instance._args = args
          instance._kwargs = kwargs
          return instance
  
      def __deepcopy__(self, memo):
keep keep keep keep replace keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
rest_framework/fields.py