(self, bound, covariant, contravariant)
Used to setup TypeVars and ParamSpec's bound, covariant and
        contravariant attributes.
Used to setup TypeVars and ParamSpec's bound, covariant and
        contravariant attributes.
Used to setup TypeVars and ParamSpec s bound covariant and contravariant attributes .
def __init__(self, bound, covariant, contravariant):
        """Used to setup TypeVars and ParamSpec's bound, covariant and
        contravariant attributes.
        """
        if covariant and contravariant:
            raise ValueError("Bivariant types are not supported.")
        self.__covariant__ = bool(covariant)
        self.__contravariant__ = bool(contravariant)
        if bound:
            self.__bound__ = _type_check(bound, "Bound must be a type.")
        else:
            self.__bound__ = None
def __init__ ( self , bound , covariant , contravariant ) : if covariant and contravariant : raise ValueError ( "Bivariant types are not supported." ) self . __covariant__ = bool ( covariant ) self . __contravariant__ = bool ( contravariant ) if bound : self . __bound__ = _type_check ( bound , "Bound must be a type." ) else : self . __bound__ = None