summaryrefslogtreecommitdiff
path: root/numpy/distutils/_shell_utils.py
diff options
context:
space:
mode:
authorSimonAltrogge <8720147+SimonAltrogge@users.noreply.github.com>2023-01-26 14:47:28 +0100
committerGitHub <noreply@github.com>2023-01-26 14:47:28 +0100
commit1c190405eacd0d7d3861042bb4c25bc24e30ff4d (patch)
tree2265187361073f8d4a02e58d5dd06c769ef01912 /numpy/distutils/_shell_utils.py
parent2289292db6a19f2bbfddd3dea3790ffa19955333 (diff)
downloadnumpy-1c190405eacd0d7d3861042bb4c25bc24e30ff4d.tar.gz
TYP: Fix return type to float on _FloatLike_co arguments
Currently, `rng.exponential(scale=np.sum(np.arange(10.0)))` indicates its return value as `np.ndarray[Any, dtype[float64]]` even though a `float` is returned on `_FloatLike_co` values of the `scale` argument. This commit fixes this problem such that `rng.exponential` indicates the correct return type on `_FloatLike_co` inputs.
Diffstat (limited to 'numpy/distutils/_shell_utils.py')
0 files changed, 0 insertions, 0 deletions