@@ -126,31 +126,26 @@ class zip_longest(Iterator[_T_co]):
126126 # three iterables
127127 @overload
128128 def __new__ (
129- cls , iter1 : Iterable [_T1 ], iter2 : Iterable [_T2 ], iter3 : Iterable [_T3 ],
130- / ) -> zip_longest [tuple [_T1 | Any , _T2 | Any , _T3 | Any ]]: ...
129+ cls , iter1 : Iterable [_T1 ], iter2 : Iterable [_T2 ], iter3 : Iterable [_T3 ], /
130+ ) -> zip_longest [tuple [_T1 | Any , _T2 | Any , _T3 | Any ]]: ...
131131 @overload
132132 def __new__ (
133133 cls , iter1 : Iterable [_T1 ], iter2 : Iterable [_T2 ], iter3 : Iterable [_T3 ], / , * , fillvalue : _T
134134 ) -> zip_longest [tuple [_T1 | _T , _T2 | _T , _T3 | _T ]]: ...
135135 # four iterables
136136 @overload
137137 def __new__ (
138- cls , iter1 : Iterable [_T1 ], iter2 : Iterable [_T2 ], iter3 : Iterable [_T3 ], iter4 : Iterable [_T4 ],
139- / ) -> zip_longest [tuple [_T1 | Any , _T2 | Any , _T3 | Any , _T4 | Any ]]: ...
138+ cls , iter1 : Iterable [_T1 ], iter2 : Iterable [_T2 ], iter3 : Iterable [_T3 ], iter4 : Iterable [_T4 ], /
139+ ) -> zip_longest [tuple [_T1 | Any , _T2 | Any , _T3 | Any , _T4 | Any ]]: ...
140140 @overload
141141 def __new__ (
142142 cls , iter1 : Iterable [_T1 ], iter2 : Iterable [_T2 ], iter3 : Iterable [_T3 ], iter4 : Iterable [_T4 ], / , * , fillvalue : _T
143143 ) -> zip_longest [tuple [_T1 | _T , _T2 | _T , _T3 | _T , _T4 | _T ]]: ...
144144 # five iterables
145145 @overload
146146 def __new__ (
147- cls ,
148- iter1 : Iterable [_T1 ],
149- iter2 : Iterable [_T2 ],
150- iter3 : Iterable [_T3 ],
151- iter4 : Iterable [_T4 ],
152- iter5 : Iterable [_T5 ],
153- / ) -> zip_longest [tuple [_T1 | Any , _T2 | Any , _T3 | Any , _T4 | Any , _T5 | Any ]]: ...
147+ cls , iter1 : Iterable [_T1 ], iter2 : Iterable [_T2 ], iter3 : Iterable [_T3 ], iter4 : Iterable [_T4 ], iter5 : Iterable [_T5 ], /
148+ ) -> zip_longest [tuple [_T1 | Any , _T2 | Any , _T3 | Any , _T4 | Any , _T5 | Any ]]: ...
154149 @overload
155150 def __new__ (
156151 cls ,
@@ -159,7 +154,8 @@ class zip_longest(Iterator[_T_co]):
159154 iter3 : Iterable [_T3 ],
160155 iter4 : Iterable [_T4 ],
161156 iter5 : Iterable [_T5 ],
162- / , * ,
157+ / ,
158+ * ,
163159 fillvalue : _T ,
164160 ) -> zip_longest [tuple [_T1 | _T , _T2 | _T , _T3 | _T , _T4 | _T , _T5 | _T ]]: ...
165161 # six or more iterables
@@ -172,7 +168,8 @@ class zip_longest(Iterator[_T_co]):
172168 iter4 : Iterable [_T ],
173169 iter5 : Iterable [_T ],
174170 iter6 : Iterable [_T ],
175- / , * iterables : Iterable [_T ],
171+ / ,
172+ * iterables : Iterable [_T ],
176173 ) -> zip_longest [tuple [_T | Any , ...]]: ...
177174 @overload
178175 def __new__ (
@@ -183,7 +180,8 @@ class zip_longest(Iterator[_T_co]):
183180 iter4 : Iterable [_T ],
184181 iter5 : Iterable [_T ],
185182 iter6 : Iterable [_T ],
186- / , * iterables : Iterable [_T ],
183+ / ,
184+ * iterables : Iterable [_T ],
187185 fillvalue : _T ,
188186 ) -> zip_longest [tuple [_T , ...]]: ...
189187 def __iter__ (self ) -> Self : ...
@@ -198,17 +196,12 @@ class product(Iterator[_T_co]):
198196 def __new__ (cls , iter1 : Iterable [_T1 ], iter2 : Iterable [_T2 ], iter3 : Iterable [_T3 ], / ) -> product [tuple [_T1 , _T2 , _T3 ]]: ...
199197 @overload
200198 def __new__ (
201- cls , iter1 : Iterable [_T1 ], iter2 : Iterable [_T2 ], iter3 : Iterable [_T3 ], iter4 : Iterable [_T4 ],
202- / ) -> product [tuple [_T1 , _T2 , _T3 , _T4 ]]: ...
199+ cls , iter1 : Iterable [_T1 ], iter2 : Iterable [_T2 ], iter3 : Iterable [_T3 ], iter4 : Iterable [_T4 ], /
200+ ) -> product [tuple [_T1 , _T2 , _T3 , _T4 ]]: ...
203201 @overload
204202 def __new__ (
205- cls ,
206- iter1 : Iterable [_T1 ],
207- iter2 : Iterable [_T2 ],
208- iter3 : Iterable [_T3 ],
209- iter4 : Iterable [_T4 ],
210- iter5 : Iterable [_T5 ],
211- / ) -> product [tuple [_T1 , _T2 , _T3 , _T4 , _T5 ]]: ...
203+ cls , iter1 : Iterable [_T1 ], iter2 : Iterable [_T2 ], iter3 : Iterable [_T3 ], iter4 : Iterable [_T4 ], iter5 : Iterable [_T5 ], /
204+ ) -> product [tuple [_T1 , _T2 , _T3 , _T4 , _T5 ]]: ...
212205 @overload
213206 def __new__ (
214207 cls ,
@@ -218,7 +211,8 @@ class product(Iterator[_T_co]):
218211 iter4 : Iterable [_T4 ],
219212 iter5 : Iterable [_T5 ],
220213 iter6 : Iterable [_T6 ],
221- / ) -> product [tuple [_T1 , _T2 , _T3 , _T4 , _T5 , _T6 ]]: ...
214+ / ,
215+ ) -> product [tuple [_T1 , _T2 , _T3 , _T4 , _T5 , _T6 ]]: ...
222216 @overload
223217 def __new__ (
224218 cls ,
@@ -229,7 +223,8 @@ class product(Iterator[_T_co]):
229223 iter5 : Iterable [Any ],
230224 iter6 : Iterable [Any ],
231225 iter7 : Iterable [Any ],
232- / , * iterables : Iterable [Any ],
226+ / ,
227+ * iterables : Iterable [Any ],
233228 ) -> product [tuple [Any , ...]]: ...
234229 @overload
235230 def __new__ (cls , * iterables : Iterable [_T1 ], repeat : int ) -> product [tuple [_T1 , ...]]: ...
0 commit comments