def _get_killbuffer(self): self._killbuffer = clipboard.get_text('PRIMARY') or self._killbuffer return self._killbuffer
def _get_clipboard(self): self._clipboard = clipboard.get_text() or self._clipboard return self._clipboard