          ('get_default_base_name', 'get_default_basename', RemovedInDRF311Warning),
      )
  
  
  class BaseRouter(six.with_metaclass(RenameRouterMethods)):
      def __init__(self):
          self.registry = []
  
      def register(self, prefix, viewset, basename=None, base_name=None):
          if base_name is not None:
 
</s> remove         super(LinkNode, self).__init__()
 </s> add         super().__init__() </s> remove         return super(URLPathVersioning, self).reverse(
 </s> add         return super().reverse( </s> remove         super(AutoSchema, self).__init__()
 </s> add         super().__init__() </s> remove         context = super(AdminRenderer, self).get_context(
 </s> add         context = super().get_context( </s> remove     def test_unicode_repr(self):
 </s> add     def test_repr(self):
class BaseRouter(metaclass=RenameRouterMethods):
          ('get_default_base_name', 'get_default_basename', RemovedInDRF311Warning),
      )
  
  
class BaseRouter(metaclass=RenameRouterMethods):
      def __init__(self):
          self.registry = []
  
      def register(self, prefix, viewset, basename=None, base_name=None):
          if base_name is not None:
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/routers.py