@@ -207,12 +207,12 @@ class TypeVar:
207
207
contravariant : bool = False ,
208
208
) -> None : ...
209
209
if sys .version_info >= (3 , 10 ):
210
- def __or__ (self , right : Any ) -> _SpecialForm : ... # AnnotationForm
211
- def __ror__ (self , left : Any ) -> _SpecialForm : ... # AnnotationForm
210
+ def __or__ (self , right : Any , / ) -> _SpecialForm : ... # AnnotationForm
211
+ def __ror__ (self , left : Any , / ) -> _SpecialForm : ... # AnnotationForm
212
212
if sys .version_info >= (3 , 11 ):
213
- def __typing_subst__ (self , arg : Any ) -> Any : ...
213
+ def __typing_subst__ (self , arg : Any , / ) -> Any : ...
214
214
if sys .version_info >= (3 , 13 ):
215
- def __typing_prepare_subst__ (self , alias : Any , args : Any ) -> tuple [Any , ...]: ...
215
+ def __typing_prepare_subst__ (self , alias : Any , args : Any , / ) -> tuple [Any , ...]: ...
216
216
def has_default (self ) -> bool : ...
217
217
if sys .version_info >= (3 , 14 ):
218
218
@property
@@ -273,8 +273,8 @@ if sys.version_info >= (3, 11):
273
273
def __init__ (self , name : str ) -> None : ...
274
274
275
275
def __iter__ (self ) -> Any : ...
276
- def __typing_subst__ (self , arg : Never ) -> Never : ...
277
- def __typing_prepare_subst__ (self , alias : Any , args : Any ) -> tuple [Any , ...]: ...
276
+ def __typing_subst__ (self , arg : Never , / ) -> Never : ...
277
+ def __typing_prepare_subst__ (self , alias : Any , args : Any , / ) -> tuple [Any , ...]: ...
278
278
if sys .version_info >= (3 , 14 ):
279
279
@property
280
280
def evaluate_default (self ) -> EvaluateFunc | None : ...
@@ -289,7 +289,7 @@ if sys.version_info >= (3, 10):
289
289
else :
290
290
def __init__ (self , origin : ParamSpec ) -> None : ...
291
291
292
- def __eq__ (self , other : object ) -> bool : ...
292
+ def __eq__ (self , other : object , / ) -> bool : ...
293
293
__hash__ : ClassVar [None ] # type: ignore[assignment]
294
294
295
295
@final
@@ -301,7 +301,7 @@ if sys.version_info >= (3, 10):
301
301
else :
302
302
def __init__ (self , origin : ParamSpec ) -> None : ...
303
303
304
- def __eq__ (self , other : object ) -> bool : ...
304
+ def __eq__ (self , other : object , / ) -> bool : ...
305
305
__hash__ : ClassVar [None ] # type: ignore[assignment]
306
306
307
307
@final
@@ -365,11 +365,11 @@ if sys.version_info >= (3, 10):
365
365
@property
366
366
def kwargs (self ) -> ParamSpecKwargs : ...
367
367
if sys .version_info >= (3 , 11 ):
368
- def __typing_subst__ (self , arg : Any ) -> Any : ...
369
- def __typing_prepare_subst__ (self , alias : Any , args : Any ) -> tuple [Any , ...]: ...
368
+ def __typing_subst__ (self , arg : Any , / ) -> Any : ...
369
+ def __typing_prepare_subst__ (self , alias : Any , args : Any , / ) -> tuple [Any , ...]: ...
370
370
371
- def __or__ (self , right : Any ) -> _SpecialForm : ...
372
- def __ror__ (self , left : Any ) -> _SpecialForm : ...
371
+ def __or__ (self , right : Any , / ) -> _SpecialForm : ...
372
+ def __ror__ (self , left : Any , / ) -> _SpecialForm : ...
373
373
if sys .version_info >= (3 , 13 ):
374
374
def has_default (self ) -> bool : ...
375
375
if sys .version_info >= (3 , 14 ):
@@ -1115,9 +1115,9 @@ if sys.version_info >= (3, 12):
1115
1115
# It's writable on types, but not on instances of TypeAliasType.
1116
1116
@property
1117
1117
def __module__ (self ) -> str | None : ... # type: ignore[override]
1118
- def __getitem__ (self , parameters : Any ) -> GenericAlias : ... # AnnotationForm
1119
- def __or__ (self , right : Any ) -> _SpecialForm : ...
1120
- def __ror__ (self , left : Any ) -> _SpecialForm : ...
1118
+ def __getitem__ (self , parameters : Any , / ) -> GenericAlias : ... # AnnotationForm
1119
+ def __or__ (self , right : Any , / ) -> _SpecialForm : ...
1120
+ def __ror__ (self , left : Any , / ) -> _SpecialForm : ...
1121
1121
if sys .version_info >= (3 , 14 ):
1122
1122
@property
1123
1123
def evaluate_value (self ) -> EvaluateFunc : ...
0 commit comments