def __init__(self, *args, **kws):
        if len(args)==0:
            optparse.Values.__init__(self, kws)
        elif len (args)==1:
            arg = args[0]
            if isinstance(arg, Options):
                self.__dict__ = arg.__dict__
                self.__dict__.update(**kws)
            elif isinstance(arg, optparse.Values):
                optparse.Values.__init__(self, arg.__dict__)
                self.__dict__.update(**kws)
            elif isinstance(arg, type (None)):
                optparse.Values.__init__(self, kws)
            else:
                raise NotImplementedError(`arg`)
        else:
            raise NotImplementedError(`args`)
Construct Options instance.
dataset/ETHPy150Open pearu/pylibtiff/libtiff/utils.py/Options.__init__