(self, new_text)
Sets a new text to the block.
Sets a new text to the block.
Sets a new text to the block .
def text(self, new_text):
        """Sets a new text to the block."""
        self.data = new_text
def text ( self , new_text ) : self . data = new_text