@@ -13,7 +13,7 @@ def unique_label_indices(
13
13
14
14
class Factorizer :
15
15
count : int
16
- def __init__ (self , size_hint : int ): ...
16
+ def __init__ (self , size_hint : int ) -> None : ...
17
17
def get_count (self ) -> int : ...
18
18
19
19
class ObjectFactorizer (Factorizer ):
@@ -39,80 +39,80 @@ class Int64Factorizer(Factorizer):
39
39
) -> npt .NDArray [np .intp ]: ...
40
40
41
41
class Int64Vector :
42
- def __init__ (self , * args ): ...
42
+ def __init__ (self , * args ) -> None : ...
43
43
def __len__ (self ) -> int : ...
44
44
def to_array (self ) -> npt .NDArray [np .int64 ]: ...
45
45
46
46
class Int32Vector :
47
- def __init__ (self , * args ): ...
47
+ def __init__ (self , * args ) -> None : ...
48
48
def __len__ (self ) -> int : ...
49
49
def to_array (self ) -> npt .NDArray [np .int32 ]: ...
50
50
51
51
class Int16Vector :
52
- def __init__ (self , * args ): ...
52
+ def __init__ (self , * args ) -> None : ...
53
53
def __len__ (self ) -> int : ...
54
54
def to_array (self ) -> npt .NDArray [np .int16 ]: ...
55
55
56
56
class Int8Vector :
57
- def __init__ (self , * args ): ...
57
+ def __init__ (self , * args ) -> None : ...
58
58
def __len__ (self ) -> int : ...
59
59
def to_array (self ) -> npt .NDArray [np .int8 ]: ...
60
60
61
61
class UInt64Vector :
62
- def __init__ (self , * args ): ...
62
+ def __init__ (self , * args ) -> None : ...
63
63
def __len__ (self ) -> int : ...
64
64
def to_array (self ) -> npt .NDArray [np .uint64 ]: ...
65
65
66
66
class UInt32Vector :
67
- def __init__ (self , * args ): ...
67
+ def __init__ (self , * args ) -> None : ...
68
68
def __len__ (self ) -> int : ...
69
69
def to_array (self ) -> npt .NDArray [np .uint32 ]: ...
70
70
71
71
class UInt16Vector :
72
- def __init__ (self , * args ): ...
72
+ def __init__ (self , * args ) -> None : ...
73
73
def __len__ (self ) -> int : ...
74
74
def to_array (self ) -> npt .NDArray [np .uint16 ]: ...
75
75
76
76
class UInt8Vector :
77
- def __init__ (self , * args ): ...
77
+ def __init__ (self , * args ) -> None : ...
78
78
def __len__ (self ) -> int : ...
79
79
def to_array (self ) -> npt .NDArray [np .uint8 ]: ...
80
80
81
81
class Float64Vector :
82
- def __init__ (self , * args ): ...
82
+ def __init__ (self , * args ) -> None : ...
83
83
def __len__ (self ) -> int : ...
84
84
def to_array (self ) -> npt .NDArray [np .float64 ]: ...
85
85
86
86
class Float32Vector :
87
- def __init__ (self , * args ): ...
87
+ def __init__ (self , * args ) -> None : ...
88
88
def __len__ (self ) -> int : ...
89
89
def to_array (self ) -> npt .NDArray [np .float32 ]: ...
90
90
91
91
class Complex128Vector :
92
- def __init__ (self , * args ): ...
92
+ def __init__ (self , * args ) -> None : ...
93
93
def __len__ (self ) -> int : ...
94
94
def to_array (self ) -> npt .NDArray [np .complex128 ]: ...
95
95
96
96
class Complex64Vector :
97
- def __init__ (self , * args ): ...
97
+ def __init__ (self , * args ) -> None : ...
98
98
def __len__ (self ) -> int : ...
99
99
def to_array (self ) -> npt .NDArray [np .complex64 ]: ...
100
100
101
101
class StringVector :
102
- def __init__ (self , * args ): ...
102
+ def __init__ (self , * args ) -> None : ...
103
103
def __len__ (self ) -> int : ...
104
104
def to_array (self ) -> npt .NDArray [np .object_ ]: ...
105
105
106
106
class ObjectVector :
107
- def __init__ (self , * args ): ...
107
+ def __init__ (self , * args ) -> None : ...
108
108
def __len__ (self ) -> int : ...
109
109
def to_array (self ) -> npt .NDArray [np .object_ ]: ...
110
110
111
111
class HashTable :
112
112
# NB: The base HashTable class does _not_ actually have these methods;
113
113
# we are putting the here for the sake of mypy to avoid
114
114
# reproducing them in each subclass below.
115
- def __init__ (self , size_hint : int = ...): ...
115
+ def __init__ (self , size_hint : int = ...) -> None : ...
116
116
def __len__ (self ) -> int : ...
117
117
def __contains__ (self , key : Hashable ) -> bool : ...
118
118
def sizeof (self , deep : bool = ...) -> int : ...
0 commit comments