@@ -121,21 +121,18 @@ def exceptions(
121
121
@overload
122
122
def subgroup (
123
123
self , __condition : type [_ExceptionT ] | tuple [type [_ExceptionT ], ...]
124
- ) -> ExceptionGroup [_ExceptionT ] | None :
125
- ...
124
+ ) -> ExceptionGroup [_ExceptionT ] | None : ...
126
125
127
126
@overload
128
127
def subgroup (
129
128
self , __condition : type [_BaseExceptionT ] | tuple [type [_BaseExceptionT ], ...]
130
- ) -> BaseExceptionGroup [_BaseExceptionT ] | None :
131
- ...
129
+ ) -> BaseExceptionGroup [_BaseExceptionT ] | None : ...
132
130
133
131
@overload
134
132
def subgroup (
135
133
self ,
136
134
__condition : Callable [[_BaseExceptionT_co | _BaseExceptionGroupSelf ], bool ],
137
- ) -> BaseExceptionGroup [_BaseExceptionT_co ] | None :
138
- ...
135
+ ) -> BaseExceptionGroup [_BaseExceptionT_co ] | None : ...
139
136
140
137
def subgroup (
141
138
self ,
@@ -176,17 +173,15 @@ def split(
176
173
) -> tuple [
177
174
ExceptionGroup [_ExceptionT ] | None ,
178
175
BaseExceptionGroup [_BaseExceptionT_co ] | None ,
179
- ]:
180
- ...
176
+ ]: ...
181
177
182
178
@overload
183
179
def split (
184
180
self , __condition : type [_BaseExceptionT ] | tuple [type [_BaseExceptionT ], ...]
185
181
) -> tuple [
186
182
BaseExceptionGroup [_BaseExceptionT ] | None ,
187
183
BaseExceptionGroup [_BaseExceptionT_co ] | None ,
188
- ]:
189
- ...
184
+ ]: ...
190
185
191
186
@overload
192
187
def split (
@@ -195,8 +190,7 @@ def split(
195
190
) -> tuple [
196
191
BaseExceptionGroup [_BaseExceptionT_co ] | None ,
197
192
BaseExceptionGroup [_BaseExceptionT_co ] | None ,
198
- ]:
199
- ...
193
+ ]: ...
200
194
201
195
def split (
202
196
self ,
@@ -249,14 +243,12 @@ def split(
249
243
return matching_group , nonmatching_group
250
244
251
245
@overload
252
- def derive (self , __excs : Sequence [_ExceptionT ]) -> ExceptionGroup [_ExceptionT ]:
253
- ...
246
+ def derive (self , __excs : Sequence [_ExceptionT ]) -> ExceptionGroup [_ExceptionT ]: ...
254
247
255
248
@overload
256
249
def derive (
257
250
self , __excs : Sequence [_BaseExceptionT ]
258
- ) -> BaseExceptionGroup [_BaseExceptionT ]:
259
- ...
251
+ ) -> BaseExceptionGroup [_BaseExceptionT ]: ...
260
252
261
253
def derive (
262
254
self , __excs : Sequence [_BaseExceptionT ]
@@ -282,20 +274,17 @@ def __new__(
282
274
@property
283
275
def exceptions (
284
276
self ,
285
- ) -> tuple [_ExceptionT_co | ExceptionGroup [_ExceptionT_co ], ...]:
286
- ...
277
+ ) -> tuple [_ExceptionT_co | ExceptionGroup [_ExceptionT_co ], ...]: ...
287
278
288
279
@overload # type: ignore[override]
289
280
def subgroup (
290
281
self , __condition : type [_ExceptionT ] | tuple [type [_ExceptionT ], ...]
291
- ) -> ExceptionGroup [_ExceptionT ] | None :
292
- ...
282
+ ) -> ExceptionGroup [_ExceptionT ] | None : ...
293
283
294
284
@overload
295
285
def subgroup (
296
286
self , __condition : Callable [[_ExceptionT_co | _ExceptionGroupSelf ], bool ]
297
- ) -> ExceptionGroup [_ExceptionT_co ] | None :
298
- ...
287
+ ) -> ExceptionGroup [_ExceptionT_co ] | None : ...
299
288
300
289
def subgroup (
301
290
self ,
@@ -310,16 +299,14 @@ def split(
310
299
self , __condition : type [_ExceptionT ] | tuple [type [_ExceptionT ], ...]
311
300
) -> tuple [
312
301
ExceptionGroup [_ExceptionT ] | None , ExceptionGroup [_ExceptionT_co ] | None
313
- ]:
314
- ...
302
+ ]: ...
315
303
316
304
@overload
317
305
def split (
318
306
self , __condition : Callable [[_ExceptionT_co | _ExceptionGroupSelf ], bool ]
319
307
) -> tuple [
320
308
ExceptionGroup [_ExceptionT_co ] | None , ExceptionGroup [_ExceptionT_co ] | None
321
- ]:
322
- ...
309
+ ]: ...
323
310
324
311
def split (
325
312
self : _ExceptionGroupSelf ,
0 commit comments