Skip to content

Commit

Permalink
Merge pull request numpy#27667 from jorenham/typing/fix-27660
Browse files Browse the repository at this point in the history
TYP: Allow returning non-array-likes from the ``apply_along_axis`` function
  • Loading branch information
rgommers authored Oct 31, 2024
2 parents a83bc02 + 0c31b8b commit f1b2fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/lib/_shape_base_impl.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def apply_along_axis(
) -> NDArray[_SCT]: ...
@overload
def apply_along_axis(
func1d: Callable[Concatenate[NDArray[Any], _P], ArrayLike],
func1d: Callable[Concatenate[NDArray[Any], _P], Any],
axis: SupportsIndex,
arr: ArrayLike,
*args: _P.args,
Expand Down

0 comments on commit f1b2fb5

Please sign in to comment.