D | typing.py | 718 def __init__(self, bound, covariant, contravariant): argument 722 if covariant and contravariant: 724 self.__covariant__ = bool(covariant) 798 covariant=False, contravariant=False): argument 800 super().__init__(bound, covariant, contravariant) 910 def __init__(self, name, *, bound=None, covariant=False, contravariant=False): argument 912 super().__init__(bound, covariant, contravariant) 2056 T_co = TypeVar('T_co', covariant=True) # Any type covariant containers. 2057 V_co = TypeVar('V_co', covariant=True) # Any type covariant containers. 2058 VT_co = TypeVar('VT_co', covariant=True) # Value type covariant containers. [all …]
|