  
  from rest_framework.settings import api_settings
  
  
  class BaseThrottle(object):
      """
      Rate throttling of requests.
      """
  
      def allow_request(self, request, view):
 
</s> remove class ExclusiveFilterBackend(object):
 </s> add class ExclusiveFilterBackend: </s> remove @six.add_metaclass(BasePermissionMetaclass)
class BasePermission(object):
 </s> add class BasePermission(metaclass=BasePermissionMetaclass): </s> remove from __future__ import unicode_literals

 </s> add  </s> remove class DataAndFiles(object):
 </s> add class DataAndFiles: </s> remove from __future__ import unicode_literals

 </s> add 
class BaseThrottle:
  
  from rest_framework.settings import api_settings
  
  
class BaseThrottle:
      """
      Rate throttling of requests.
      """
  
      def allow_request(self, request, view):
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/throttling.py