def outtextf(self, s):
    self.outtextlist.append(s)
    if s:
        self.lastWasNL = (s[(- 1)] == '\n')
def outtextf(self, s):
    self.outtextlist.append(s)
    if s:
        self.lastWasNL = (s[(- 1)] == '\n')