def __str__(self): pf = "" if hasattr(self, "subopt") and self.subopt: pf = " %s...,%s,..." % (self.baseopt, self.subopt) return Option.__str__(self) + pf