#NEWLINE# def set_cutbuffer( self , data ) : #NEWLINE# #INDENT# if ( not isinstance ( data , bytes ) ) : #NEWLINE# #INDENT# data = data . encode ( 'utf8' ) #NEWLINE# #UNINDENT# p = self . _clip ( 'in' , 'primary' ) #NEWLINE# p . communicate ( data )