Lines Matching refs:contravariant
511 Type variables defined with covariant=True or contravariant=True
512 can be used to declare covariant or contravariant generic types.
531 covariant=False, contravariant=False):
533 if covariant and contravariant:
536 self.__contravariant__ = bool(contravariant)
1180 T_contra = TypeVar('T_contra', contravariant=True) # Ditto contravariant.