code: def _clear_surface(self, surface, rect=None):
          
          clear_color = self._rgb_clear_color if self._clear_color is None else self._clear_color
          surface.fill(clear_color, rect)
docs: Clear the buffer, taking in account colorkey or alpha
  
          :return: