def print_formatted(self, result): if result.value is not None: formatted = ftformat(result) print(formatted)
def print_formatted(self, value): self.output.append(ftformat(value))