예제 #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)