  class BasePermissionMetaclass(OperationHolderMixin, type):
      pass
  
  
  @six.add_metaclass(BasePermissionMetaclass)
  class BasePermission(object):
      """
      A base class from which all permission classes should inherit.
      """
  
      def has_permission(self, request, view):
 
</s> remove class BaseThrottle(object):
 </s> add class BaseThrottle: </s> remove class ExclusiveFilterBackend(object):
 </s> add class ExclusiveFilterBackend: </s> remove from __future__ import unicode_literals

 </s> add  </s> remove class InclusiveFilterBackend(object):
 </s> add class InclusiveFilterBackend: </s> remove class override_method(object):
 </s> add class override_method:
class BasePermission(metaclass=BasePermissionMetaclass):
  class BasePermissionMetaclass(OperationHolderMixin, type):
      pass
  
  
class BasePermission(metaclass=BasePermissionMetaclass):
class BasePermission(metaclass=BasePermissionMetaclass):
      """
      A base class from which all permission classes should inherit.
      """
  
      def has_permission(self, request, view):
keep keep keep keep replace 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/permissions.py