summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorSebastian Berg <sebastianb@nvidia.com>2023-03-16 23:36:54 +0100
committerGitHub <noreply@github.com>2023-03-16 23:36:54 +0100
commit6c31fef645b244d0a22fcc5597b42b6c650ca75e (patch)
tree6f32e865c6b6b11cfcfe8a5e82a03a89a8536d11 /numpy
parent77afec98627952c5bc99dc6e394069de73246c6c (diff)
parentdeb475a1d423bd20ea3d4cea5a13ee9299ef5d9c (diff)
downloadnumpy-6c31fef645b244d0a22fcc5597b42b6c650ca75e.tar.gz
Merge pull request #23408 from XPhyro/fix-extra-space
DOC: fix extra space in error message
Diffstat (limited to 'numpy')
-rw-r--r--numpy/lib/histograms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/histograms.py b/numpy/lib/histograms.py
index 0dfa7b4c1..35745e6dd 100644
--- a/numpy/lib/histograms.py
+++ b/numpy/lib/histograms.py
@@ -981,7 +981,7 @@ def histogramdd(sample, bins=10, range=None, density=None, weights=None):
if M != D:
raise ValueError(
'The dimension of bins must be equal to the dimension of the '
- ' sample x.')
+ 'sample x.')
except TypeError:
# bins is an integer
bins = D*[bins]