@@ -205,7 +205,6 @@ from typing import (
205
205
SupportsComplex ,
206
206
SupportsFloat ,
207
207
SupportsInt ,
208
- TypeVar ,
209
208
Protocol ,
210
209
SupportsIndex ,
211
210
Final ,
@@ -219,7 +218,7 @@ from typing import (
219
218
# This is because the `typeshed` stubs for the standard library include
220
219
# `typing_extensions` stubs:
221
220
# https://github.com/python/typeshed/blob/main/stdlib/typing_extensions.pyi
222
- from typing_extensions import LiteralString , Self
221
+ from typing_extensions import LiteralString , Self , TypeVar
223
222
224
223
from numpy import (
225
224
core ,
@@ -4131,7 +4130,7 @@ class busdaycalendar:
4131
4130
def holidays (self ) -> NDArray [datetime64 ]: ...
4132
4131
4133
4132
4134
- _FloatType_co = TypeVar ('_FloatType_co' , bound = floating [Any ], covariant = True )
4133
+ _FloatType_co = TypeVar ('_FloatType_co' , bound = floating [Any ], covariant = True , default = floating [ NBitBase ] )
4135
4134
4136
4135
class finfo (Generic [_FloatType_co ]):
4137
4136
dtype : Final [dtype [_FloatType_co ]]
@@ -4167,7 +4166,7 @@ class finfo(Generic[_FloatType_co]):
4167
4166
cls , dtype : str
4168
4167
) -> finfo [floating [Any ]]: ...
4169
4168
4170
- _IntType_co = TypeVar ("_IntType_co" , bound = integer [Any ], covariant = True )
4169
+ _IntType_co = TypeVar ("_IntType_co" , bound = integer [Any ], covariant = True , default = integer [ NBitBase ] )
4171
4170
4172
4171
class iinfo (Generic [_IntType_co ]):
4173
4172
dtype : Final [dtype [_IntType_co ]]
0 commit comments