          super(ListSerializer, self).__init__(*args, **kwargs)
          self.child.bind(field_name='', parent=self)
  
      def bind(self, field_name, parent):
          super(ListSerializer, self).bind(field_name, parent)
          self.partial = self.parent.partial
  
      def get_initial(self):
          if hasattr(self, 'initial_data'):
              return self.to_representation(self.initial_data)
 
</s> remove         super(ListSerializer, self).__init__(*args, **kwargs)
 </s> add         super().__init__(*args, **kwargs) </s> remove         ret = super(ListSerializer, self).data
 </s> add         ret = super().data </s> remove         super(DictField, self).__init__(*args, **kwargs)
 </s> add         super().__init__(*args, **kwargs) </s> remove         super(SchemaView, self).__init__(*args, **kwargs)
 </s> add         super().__init__(*args, **kwargs) </s> remove             return super(CoreAPIClient, self).__init__(*args, **kwargs)
 </s> add             return super().__init__(*args, **kwargs)
        super().bind(field_name, parent)
          super(ListSerializer, self).__init__(*args, **kwargs)
          self.child.bind(field_name='', parent=self)
  
      def bind(self, field_name, parent):
        super().bind(field_name, parent)
          self.partial = self.parent.partial
  
      def get_initial(self):
          if hasattr(self, 'initial_data'):
              return self.to_representation(self.initial_data)
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/serializers.py