def __init__(self, *args): this = _nlopt.new_opt(*args) try: self.this.append(this) except: self.this = this
def __init__(self, *args): this = _nlopt.new_opt(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this