old_contents: '''
  Clipboard Pygame: implementation of clipboard using pygame.scrap.
  '''
  
  __all__ = ('ClipboardPygame', )
  
  from kivy.utils import platform
  from . import ClipboardBase
  
  if platform() not in ('win', 'linux'):
      raise SystemError('unsupported platform for pygame clipboard')
  
  try:
      import pygame
      import pygame.scrap
  except:
      raise
  
  
  class ClipboardPygame(ClipboardBase):
  
      _is_init = False
  
      def init(self):
          if ClipboardPygame._is_init:
                  return
          pygame.scrap.init()
          ClipboardPygame._is_init = True
  
      def get(self, mimetype='text/plain'):
          self.init()
          return pygame.scrap.get(mimetype)
  
      def put(self, data, mimetype='text/plain'):
          self.init()
          pygame.scrap.put(mimetype, data)
  
      def get_types(self):
          self.init()
          return pygame.scrap.get_types()
  
new_contents: '''
  Clipboard Pygame: implementation of clipboard using pygame.scrap.
  '''
  
  __all__ = ('ClipboardPygame', )
  
  from kivy.utils import platform
  from . import ClipboardBase
  
  if platform() not in ('win', 'linux'):
      raise SystemError('unsupported platform for pygame clipboard')
  
  try:
      import pygame
      import pygame.scrap
  except:
      raise
  
  
  class ClipboardPygame(ClipboardBase):
  
      _is_init = False
  
      def init(self):
          if ClipboardPygame._is_init:
              return
          pygame.scrap.init()
          ClipboardPygame._is_init = True
  
      def get(self, mimetype='text/plain'):
          self.init()
          return pygame.scrap.get(mimetype)
  
      def put(self, data, mimetype='text/plain'):
          self.init()
          pygame.scrap.put(mimetype, data)
  
      def get_types(self):
          self.init()
          return pygame.scrap.get_types()
  
subject: remove extra indent