Ejemplo n.º 1
0
 def f_frozenset_int(x: FrozenSet[int]):
     typecheck(f_frozenset_int)
Ejemplo n.º 2
0
 def f_complicated(x: List[List[Set[Union[str, int]]]],
                   y: Dict[Union[int, str], Sequence[Optional[int]]]):
     typecheck(f_complicated)
Ejemplo n.º 3
0
 def f_list_int(x: List[int]):
     typecheck(f_list_int)
Ejemplo n.º 4
0
 def f_mapping_str_int(x: Mapping[str, int]):
     typecheck(f_mapping_str_int)
Ejemplo n.º 5
0
 def f_optional(x: Optional[str]):
     typecheck(f_optional)
Ejemplo n.º 6
0
 def f_tuple(x: Tuple):
     typecheck(f_tuple)
Ejemplo n.º 7
0
 def f_tuple_sized2(x: Tuple[int, str, Union[str, int]]):
     typecheck(f_tuple_sized2)
Ejemplo n.º 8
0
 def f_tuple2(x: Tuple[Any, ...]):
     typecheck(f_tuple2)
Ejemplo n.º 9
0
 def f_tuple_var(x: Tuple[int, ...]):
     typecheck(f_tuple_var)
Ejemplo n.º 10
0
 def f_simple2(x: str):
     typecheck(f_simple2)
Ejemplo n.º 11
0
 def f_tuple(x: Tuple):
     typecheck(f_tuple)
Ejemplo n.º 12
0
 def f_collection_str(x: Collection[str]):
     typecheck(f_collection_str)
Ejemplo n.º 13
0
 def f_collection(x: Collection):
     typecheck(f_collection)
Ejemplo n.º 14
0
 def f_simple1(x: int):
     typecheck(f_simple1)
Ejemplo n.º 15
0
 def f_frozenset_int(x: FrozenSet[int]):
     typecheck(f_frozenset_int)
Ejemplo n.º 16
0
 def f_tuple_sized1(x: Tuple[int]):
     typecheck(f_tuple_sized1)
Ejemplo n.º 17
0
 def f_collection_str(x: Collection[str]):
     typecheck(f_collection_str)
Ejemplo n.º 18
0
 def f_tuple_sized2(x: Tuple[int, str, Union[str, int]]):
     typecheck(f_tuple_sized2)
Ejemplo n.º 19
0
 def f_tuple_var(x: Tuple[int, ...]):
     typecheck(f_tuple_var)
Ejemplo n.º 20
0
 def f_dict(x: Dict):
     typecheck(f_dict)
Ejemplo n.º 21
0
 def f_dict_str_int(x: Dict[str, int]):
     typecheck(f_dict_str_int)
Ejemplo n.º 22
0
 def f_dict_str_int(x: Dict[str, int]):
     typecheck(f_dict_str_int)
Ejemplo n.º 23
0
 def f_varargs2(*xs: str):
     typecheck(f_varargs2)
Ejemplo n.º 24
0
 def f_mapping(x: Mapping):
     typecheck(f_mapping)
Ejemplo n.º 25
0
 def f_kwargs2(x: int, **xs: List[Union[str, int]]):
     typecheck(f_kwargs2)
Ejemplo n.º 26
0
 def f_mapping_str_int(x: Mapping[str, int]):
     typecheck(f_mapping_str_int)
Ejemplo n.º 27
0
 def f_union(x: Union[int, str]):
     typecheck(f_union)
Ejemplo n.º 28
0
 def f_varargs(x: int, *xs: str):
     typecheck(f_varargs)
Ejemplo n.º 29
0
 def f_sequence(x: Sequence):
     typecheck(f_sequence)
Ejemplo n.º 30
0
 def f_varargs2(*xs: str):
     typecheck(f_varargs2)
Ejemplo n.º 31
0
 def f_simple1(x: int):
     typecheck(f_simple1)
Ejemplo n.º 32
0
 def f_varargs3(x: int, *xs: Union[str, int]):
     typecheck(f_varargs3)
Ejemplo n.º 33
0
 def f_collection(x: Collection):
     typecheck(f_collection)
Ejemplo n.º 34
0
 def f_kwargs(x: int, **xs: int):
     typecheck(f_kwargs)
Ejemplo n.º 35
0
 def f_simple2(x: str):
     typecheck(f_simple2)
Ejemplo n.º 36
0
 def f_kwargs2(x: int, **xs: List[Union[str, int]]):
     typecheck(f_kwargs2)
Ejemplo n.º 37
0
 def f_tuple2(x: Tuple[Any, ...]):
     typecheck(f_tuple2)
Ejemplo n.º 38
0
 def f_optional(x: Optional[str]):
     typecheck(f_optional)
Ejemplo n.º 39
0
 def f_tuple_sized1(x: Tuple[int]):
     typecheck(f_tuple_sized1)
Ejemplo n.º 40
0
 def f_callable(x: Callable[[int, str], str]):
     typecheck(f_callable)
Ejemplo n.º 41
0
 def f_dict(x: Dict):
     typecheck(f_dict)
Ejemplo n.º 42
0
 def f_complicated(x: List[List[Set[Union[str, int]]]],
                   y: Dict[Union[int, str], Sequence[Optional[int]]]):
     typecheck(f_complicated)
Ejemplo n.º 43
0
 def f_mapping(x: Mapping):
     typecheck(f_mapping)
Ejemplo n.º 44
0
 def f_float(x: float):
     typecheck(f_float)
Ejemplo n.º 45
0
 def f_varargs(x: int, *xs: str):
     typecheck(f_varargs)
Ejemplo n.º 46
0
 def f_union(x: Union[int, str]):
     typecheck(f_union)
Ejemplo n.º 47
0
 def f_varargs3(x: int, *xs: Union[str, int]):
     typecheck(f_varargs3)
Ejemplo n.º 48
0
 def f_list(x: List):
     typecheck(f_list)
Ejemplo n.º 49
0
 def f_kwargs(x: int, **xs: int):
     typecheck(f_kwargs)
Ejemplo n.º 50
0
 def f_list_int(x: List[int]):
     typecheck(f_list_int)
Ejemplo n.º 51
0
 def f_callable(x: Callable[[int, str], str]):
     typecheck(f_callable)
Ejemplo n.º 52
0
 def f_sequence(x: Sequence):
     typecheck(f_sequence)
Ejemplo n.º 53
0
 def f_float(x: float):
     typecheck(f_float)
Ejemplo n.º 54
0
 def f_noargs():
     typecheck(f_noargs)
Ejemplo n.º 55
0
 def f_list(x: List):
     typecheck(f_list)
Ejemplo n.º 56
0
 def f_sequence_float(x: Sequence[float]):
     typecheck(f_sequence_float)
Ejemplo n.º 57
0
 def f_noargs():
     typecheck(f_noargs)
Ejemplo n.º 58
0
 def f_frozenset(x: FrozenSet):
     typecheck(f_frozenset)
Ejemplo n.º 59
0
 def f_sequence_float(x: Sequence[float]):
     typecheck(f_sequence_float)
Ejemplo n.º 60
0
 def f_frozenset(x: FrozenSet):
     typecheck(f_frozenset)