#NEWLINE# def get_data( self ) : #NEWLINE# #INDENT# text = pyperclip . paste ( ) #NEWLINE# if ( self . _data and ( self . _data . text == text ) ) : #NEWLINE# #INDENT# return self . _data #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ClipboardData ( text = self , type = ( SelectionType . LINES if ( '\n' in text ) else SelectionType . LINES ) )