def replace_emphasis(self, s, index = 0):
        """replace the index'th emphasized text with s"""
        e = self.emphasized[index]
        self.body[e[0]:e[1]] = [s]
        del self.emphasized[index]
def replace_emphasis ( self , s , index = 0 ) : e = self . emphasized [ index ] self . body [ e [ 0 ] : e [ 1 ] ] = [ s ] del self . emphasized [ index ]
replace the index'th emphasized text with s