@@ -257,12 +257,32 @@ if sys.version_info >= (3, 11):
257257 class TypeVarTuple :
258258 @property
259259 def __name__ (self ) -> str : ...
260+ if sys .version_info >= (3 , 15 ):
261+ @property
262+ def __bound__ (self ) -> Any | None : ... # AnnotationForm
263+ @property
264+ def __covariant__ (self ) -> bool : ...
265+ @property
266+ def __contravariant__ (self ) -> bool : ...
267+ @property
268+ def __infer_variance__ (self ) -> bool : ...
260269 if sys .version_info >= (3 , 13 ):
261270 @property
262271 def __default__ (self ) -> Any : ... # AnnotationForm
263272 def has_default (self ) -> bool : ...
264273 if sys .version_info >= (3 , 13 ):
265274 def __new__ (cls , name : str , * , default : Any = ...) -> Self : ... # AnnotationForm
275+ elif sys .version_info >= (3 , 15 ):
276+ def __new__ (
277+ cls ,
278+ name : str ,
279+ * ,
280+ bound : Any | None = None , # AnnotationForm
281+ contravariant : bool = False ,
282+ covariant : bool = False ,
283+ infer_variance : bool = False ,
284+ default : Any = ..., # AnnotationForm
285+ ) -> Self : ...
266286 elif sys .version_info >= (3 , 12 ):
267287 def __new__ (cls , name : str ) -> Self : ...
268288 else :
0 commit comments