def get_opt_string(self): if hasattr(self, 'subopt'): return self.subopt else: return Option.get_opt_string(self)