(self)
Initialise the clipboard handler.
Initialise the clipboard handler.
Initialise the clipboard handler .
def __init__(self):
        """Initialise the clipboard handler."""
        try:
            pygame.scrap.init()
            self.ok = True
        except Exception:
            if pygame:
                logging.warning('PyGame.Scrap clipboard handling module not found.')
            self.ok = False
def __init__ ( self ) : try : pygame . scrap . init ( ) self . ok = True except Exception : if pygame : logging . warning ( 'PyGame.Scrap clipboard handling module not found.' ) self . ok = False