summaryrefslogtreecommitdiff
path: root/numpy/lib/histograms.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/histograms.py')
-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 478fbc783..8474bd5d3 100644
--- a/numpy/lib/histograms.py
+++ b/numpy/lib/histograms.py
@@ -927,7 +927,7 @@ def _histogramdd_dispatcher(sample, bins=None, range=None, normed=None,
yield sample
else:
yield from sample
- with contextlib.supress(TypeError):
+ with contextlib.suppress(TypeError):
yield from bins
yield weights