'Resolve a min() or max() call.'

def generic(self, args, kws):

    assert (not kws)
    if (not args):
        return
    if (len(args) == 1):
        if isinstance(args[0], types.BaseTuple):
            tys = list(args[0])
            if (not tys):
                raise TypeError(('%s()    argument    is    an    empty    tuple' % (self.key.__name__,)))
        else:
            return
    else:
        tys = args
    retty = self._unify_minmax(tys)
    if (retty is not None):
        return signature(retty, *args)
