@@ -1199,14 +1199,6 @@ class dtype(Generic[_ScalarT_co], metaclass=_DTypeMeta):
1199
1199
cls , dtype : _nt .ToDTypeUInt16 , align : py_bool = False , copy : py_bool = False , metadata : _MetaData = ...
1200
1200
) -> dtypes .UInt16DType : ...
1201
1201
@overload
1202
- def __new__ (
1203
- cls , dtype : _nt .ToDTypeInt32 , align : py_bool = False , copy : py_bool = False , metadata : _MetaData = ...
1204
- ) -> dtypes .Int32DType : ...
1205
- @overload
1206
- def __new__ (
1207
- cls , dtype : _nt .ToDTypeUInt32 , align : py_bool = False , copy : py_bool = False , metadata : _MetaData = ...
1208
- ) -> dtypes .UInt32DType : ...
1209
- @overload
1210
1202
def __new__ ( # type: ignore[overload-overlap]
1211
1203
cls , dtype : _nt .ToDTypeLong , align : py_bool = False , copy : py_bool = False , metadata : _MetaData = ...
1212
1204
) -> dtypes .LongDType : ...
@@ -1215,6 +1207,14 @@ class dtype(Generic[_ScalarT_co], metaclass=_DTypeMeta):
1215
1207
cls , dtype : _nt .ToDTypeULong , align : py_bool = False , copy : py_bool = False , metadata : _MetaData = ...
1216
1208
) -> dtypes .ULongDType : ...
1217
1209
@overload
1210
+ def __new__ (
1211
+ cls , dtype : _nt .ToDTypeInt32 , align : py_bool = False , copy : py_bool = False , metadata : _MetaData = ...
1212
+ ) -> dtypes .Int32DType : ...
1213
+ @overload
1214
+ def __new__ (
1215
+ cls , dtype : _nt .ToDTypeUInt32 , align : py_bool = False , copy : py_bool = False , metadata : _MetaData = ...
1216
+ ) -> dtypes .UInt32DType : ...
1217
+ @overload
1218
1218
def __new__ (
1219
1219
cls , dtype : _nt .ToDTypeInt64 , align : py_bool = False , copy : py_bool = False , metadata : _MetaData = ...
1220
1220
) -> dtypes .Int64DType : ...
0 commit comments