def __str__(self):
        scale_factor = ''
        if self.a is not None:
            scale_factor += ('X: %g ' % self.a)
        if self.b is not None:
            scale_factor += ('Y: %g' % self.b)
        return ('<Scale Factor: %s>' % scale_factor)
dataset/ETHPy150Open curtacircuitos/pcb-tools/gerber/gerber_statements.py/SFParamStmt.__str__/original