summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-06-26 08:13:00 +0300
committerGitHub <noreply@github.com>2020-06-26 08:13:00 +0300
commit69f49af649103cca7d89ed2a368717e2a0ca7a6f (patch)
tree333e597828a4642690ec96a5216c986565fb59d6 /numpy
parentc37dc5f1cf5d42ddf05e0cd04a7fc528f30f20e5 (diff)
parentbf11f95e33c68c2666a6551287c79942a72cf378 (diff)
downloadnumpy-69f49af649103cca7d89ed2a368717e2a0ca7a6f.tar.gz
Merge pull request #16691 from rossbar/doc/triu_rm_matrix
DOC: Remove "matrix" from `triu` docstring.
Diffstat (limited to 'numpy')
-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.