def _check_nargs(self):
        if self.TYPED_ACTIONS in self.action:
            if self.nargs is None:
                self.nargs = 1
        elif self.nargs is not None:
            raise OptionError(
                "'nargs' must not be supplied for action %r" % self.action,
                self)
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/optparse.py/Option._check_nargs/swapped operands of `in`