def clean ( self ) : return Text ( self . __text_cleaner . clean ( self [ TEXT ] ) , * * self . __kwargs )
python tk text clean
Return a copy of this Text instance with invalid characters removed .
def clean(self):
        """Return a copy of this Text instance with invalid characters removed."""
        return Text(self.__text_cleaner.clean(self[TEXT]), **self.__kwargs)