@@ -466,25 +466,25 @@ def ones(
466
466
) -> ndarray : ...
467
467
def zeros_like (
468
468
a : ArrayLike ,
469
- dtype : Optional [ dtype ] = ...,
469
+ dtype : DtypeLike = ...,
470
470
order : str = ...,
471
471
subok : bool = ...,
472
472
shape : Optional [Union [int , Sequence [int ]]] = ...,
473
473
) -> ndarray : ...
474
474
def ones_like (
475
475
a : ArrayLike ,
476
- dtype : Optional [ dtype ] = ...,
476
+ dtype : DtypeLike = ...,
477
477
order : str = ...,
478
478
subok : bool = ...,
479
479
shape : Optional [_ShapeLike ] = ...,
480
480
) -> ndarray [int ]: ...
481
481
def full (
482
- shape : _ShapeLike , fill_value : Any , dtype : Optional [ dtype ] = ..., order : str = ...
482
+ shape : _ShapeLike , fill_value : Any , dtype : DtypeLike = ..., order : str = ...
483
483
) -> ndarray : ...
484
484
def full_like (
485
485
a : ArrayLike ,
486
486
fill_value : Any ,
487
- dtype : Optional [ dtype ] = ...,
487
+ dtype : DtypeLike = ...,
488
488
order : str = ...,
489
489
subok : bool = ...,
490
490
shape : Optional [_ShapeLike ] = ...,
@@ -531,7 +531,7 @@ def fromfunction(function: Callable, shape: Tuple[int, int], **kwargs) -> Any: .
531
531
def isscalar (element : Any ) -> bool : ...
532
532
def binary_repr (num : int , width : Optional [int ] = ...) -> str : ...
533
533
def base_repr (number : int , base : int = ..., padding : int = ...) -> str : ...
534
- def identity (n : int , dtype : Optional [ dtype ] = ...) -> ndarray : ...
534
+ def identity (n : int , dtype : DtypeLike = ...) -> ndarray : ...
535
535
def allclose (
536
536
a : ArrayLike ,
537
537
b : ArrayLike ,
0 commit comments