@@ -519,12 +519,12 @@ __all__ = [ # noqa: RUF022
519
519
"bitwise_and" , "bitwise_count" , "bitwise_invert" , "bitwise_left_shift" , "bitwise_not" , "bitwise_or" ,
520
520
"bitwise_right_shift" , "bitwise_xor" , "block" , "bool" , "bool_" , "broadcast" , "busday_count" , "busday_offset" ,
521
521
"busdaycalendar" , "byte" , "bytes_" , "can_cast" , "cbrt" , "cdouble" , "ceil" , "character" , "choose" , "clip" ,
522
- "clongdouble" , "complex128 " , "complex192 " , "complex256 " , "complex64 " , "complexfloating" , "compress" , "concat" ,
522
+ "clongdouble" , "complex64 " , "complex128 " , "complex192 " , "complex256 " , "complexfloating" , "compress" , "concat" ,
523
523
"concatenate" , "conj" , "conjugate" , "convolve" , "copysign" , "copyto" , "correlate" , "cos" , "cosh" , "count_nonzero" ,
524
524
"cross" , "csingle" , "cumprod" , "cumsum" , "cumulative_prod" , "cumulative_sum" , "datetime64" , "datetime_as_string" ,
525
525
"datetime_data" , "deg2rad" , "degrees" , "diagonal" , "divide" , "divmod" , "dot" , "double" , "dtype" , "e" , "einsum" ,
526
526
"einsum_path" , "empty" , "empty_like" , "equal" , "errstate" , "euler_gamma" , "exp" , "exp2" , "expm1" , "fabs" , "finfo" ,
527
- "flatiter" , "flatnonzero" , "flexible" , "float128" , " float16" , "float32" , "float64" , "float96" , "float_power" ,
527
+ "flatiter" , "flatnonzero" , "flexible" , "float16" , "float32" , "float64" , "float96" , "float128 " , "float_power" ,
528
528
"floating" , "floor" , "floor_divide" , "fmax" , "fmin" , "fmod" , "format_float_positional" , "format_float_scientific" ,
529
529
"frexp" , "from_dlpack" , "frombuffer" , "fromfile" , "fromfunction" , "fromiter" , "frompyfunc" , "fromstring" , "full" ,
530
530
"full_like" , "gcd" , "generic" , "geomspace" , "get_printoptions" , "getbufsize" , "geterr" , "geterrcall" , "greater" ,
@@ -1046,7 +1046,7 @@ __NUMPY_SETUP__: Final = False
1046
1046
__numpy_submodules__ : Final [set [_SubModule ]] = ...
1047
1047
__former_attrs__ : Final [_FormerAttrsDict ] = ...
1048
1048
__future_scalars__ : Final [set [_FutureScalar ]] = ...
1049
- __array_api_version__ : Final = "2023 .12"
1049
+ __array_api_version__ : Final = "2024 .12"
1050
1050
test : Final [PytestTester ] = ...
1051
1051
1052
1052
###
@@ -3527,8 +3527,6 @@ class bool_(generic[_BoolItemT_co], Generic[_BoolItemT_co]):
3527
3527
def __bool__ (self , / ) -> _BoolItemT_co : ...
3528
3528
@override
3529
3529
def __int__ (self , / ) -> L [0 , 1 ]: ...
3530
- @deprecated ("It will be an error for 'np.bool' scalars to be interpreted as an index in NumPy 2.3.0" )
3531
- def __index__ (self , / ) -> L [0 , 1 ]: ...
3532
3530
3533
3531
#
3534
3532
@overload
@@ -4735,13 +4733,6 @@ class complexfloating(inexact[complex]):
4735
4733
@override
4736
4734
def __abs__ (self , / ) -> floating : ...
4737
4735
4738
- #
4739
- @deprecated (
4740
- "The Python built-in `round` is deprecated for complex scalars, "
4741
- "and will raise a `TypeError` in a future release"
4742
- )
4743
- def __round__ (self , / , ndigits : CanIndex | None = None ) -> Self : ...
4744
-
4745
4736
class complex64 (complexfloating ):
4746
4737
@overload
4747
4738
def __init__ (self , real : _ConvertibleToComplex | None = 0 , / ) -> None : ...
0 commit comments