summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/lib/twodim_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/twodim_base.py b/numpy/lib/twodim_base.py
index 320a24856..2bb4c78a5 100644
--- a/numpy/lib/twodim_base.py
+++ b/numpy/lib/twodim_base.py
@@ -441,7 +441,7 @@ def triu(m, k=0):
"""
Upper triangle of an array.
- Return a copy of a matrix with the elements below the `k`-th diagonal
+ Return a copy of an array with the elements below the `k`-th diagonal
zeroed.
Please refer to the documentation for `tril` for further details.