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