def points_as_string(self):

    def outVal(x):
        if isinstance(x, str):
            return x
        return ('%.4g' % x)
    return ' '.join((('%s %s' % (outVal(p[0]), outVal(p[1]))) for p in self.points))
def points_as_string(self):

    def outVal(x):
        if isinstance(x, str):
            return x
        return ('%.4g' % x)
    return ' '.join((('%s %s' % (outVal(p[0]), outVal(p[1]))) for p in self.points))