def __str__(self):
    if hasattr(self.lhs, 'type') and self.lhs.type:
      return "%s : %s = %s" % (self.lhs, self.lhs.type, self.rhs)
    else:
      return (self.lhs, self.rhs) % "%s = %s"
dataset/ETHPy150Open iskandr/parakeet/parakeet/syntax/stmt.py/Assign.__str__/swapped operands of `%`