@@ -738,7 +738,7 @@ def ones(
738738# NOTE: The mypy [overload-overlap] errors are false-positives that are caused by a
739739# bug that's related to constrained type-vars.
740740@overload # 1d shape, known fill scalar-type
741- def full ( # type: ignore[overload-overlap]
741+ def full (
742742 shape : _ShapeLike1D ,
743743 fill_value : _ScalarT ,
744744 dtype : None = None ,
@@ -748,7 +748,7 @@ def full( # type: ignore[overload-overlap]
748748 like : _SupportsArrayFunc | None = None ,
749749) -> _nt .Array1D [_ScalarT ]: ...
750750@overload # 1d shape, bool fill
751- def full ( # type: ignore[overload-overlap]
751+ def full (
752752 shape : _ShapeLike1D ,
753753 fill_value : py_bool ,
754754 dtype : None = None ,
@@ -758,7 +758,7 @@ def full( # type: ignore[overload-overlap]
758758 like : _SupportsArrayFunc | None = None ,
759759) -> _nt .Array1D [np .bool ]: ...
760760@overload # 1d shape, int fill
761- def full ( # type: ignore[overload-overlap]
761+ def full (
762762 shape : _ShapeLike1D ,
763763 fill_value : _nt .JustInt ,
764764 dtype : None = None ,
@@ -778,7 +778,7 @@ def full(
778778 like : _SupportsArrayFunc | None = None ,
779779) -> _nt .Array1D [np .float64 ]: ...
780780@overload # 1d shape, complex fill
781- def full ( # type: ignore[overload-overlap]
781+ def full (
782782 shape : _ShapeLike1D ,
783783 fill_value : _nt .JustComplex ,
784784 dtype : None = None ,
@@ -808,7 +808,7 @@ def full(
808808 like : _SupportsArrayFunc | None = None ,
809809) -> _nt .Array1D [_ScalarT ]: ...
810810@overload # 1d shape, float64 dtype
811- def full ( # type: ignore[overload-overlap]
811+ def full (
812812 shape : _ShapeLike1D ,
813813 fill_value : object ,
814814 dtype : _nt .ToDTypeFloat64 ,
@@ -918,7 +918,7 @@ def full(
918918 like : _SupportsArrayFunc | None = None ,
919919) -> _nt .Array [Any , _AnyShapeT ]: ...
920920@overload # unknown shape, known fill scalar-type
921- def full ( # type: ignore[overload-overlap]
921+ def full (
922922 shape : _ShapeLike ,
923923 fill_value : _ScalarT ,
924924 dtype : None = None ,
@@ -928,7 +928,7 @@ def full( # type: ignore[overload-overlap]
928928 like : _SupportsArrayFunc | None = None ,
929929) -> _nt .Array [_ScalarT ]: ...
930930@overload # unknown shape, bool fill
931- def full ( # type: ignore[overload-overlap]
931+ def full (
932932 shape : _ShapeLike ,
933933 fill_value : py_bool ,
934934 dtype : None = None ,
@@ -938,7 +938,7 @@ def full( # type: ignore[overload-overlap]
938938 like : _SupportsArrayFunc | None = None ,
939939) -> _nt .Array [np .bool ]: ...
940940@overload # unknown shape, int fill
941- def full ( # type: ignore[overload-overlap]
941+ def full (
942942 shape : _ShapeLike ,
943943 fill_value : _nt .JustInt ,
944944 dtype : None = None ,
@@ -958,7 +958,7 @@ def full(
958958 like : _SupportsArrayFunc | None = None ,
959959) -> _nt .Array [np .float64 ]: ...
960960@overload # unknown shape, complex fill
961- def full ( # type: ignore[overload-overlap]
961+ def full (
962962 shape : _ShapeLike ,
963963 fill_value : _nt .JustComplex ,
964964 dtype : None = None ,
0 commit comments