summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakanori H <takanori17h@gmail.com>2020-10-11 21:00:44 +0900
committerGitHub <noreply@github.com>2020-10-11 13:00:44 +0100
commit588a517b68d9f273b607622dc854b1b3d014ac58 (patch)
tree1f73e55ba09f7d960fef04912ec80376a16fdbf7
parent07a54df60c6012da3b02a248c65cba9688681109 (diff)
downloadnumpy-588a517b68d9f273b607622dc854b1b3d014ac58.tar.gz
DOC: Fix typo (#17534)
-rw-r--r--doc/source/user/numpy-for-matlab-users.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/user/numpy-for-matlab-users.rst b/doc/source/user/numpy-for-matlab-users.rst
index eb011de63..ed0be82a0 100644
--- a/doc/source/user/numpy-for-matlab-users.rst
+++ b/doc/source/user/numpy-for-matlab-users.rst
@@ -578,7 +578,7 @@ indices using the ``ix_`` command. E.g., for 2D array ``a``, one might
do: ``ind=[1, 3]; a[np.ix_(ind, ind)] += 100``.
\ **HELP**: There is no direct equivalent of MATLAB's ``which`` command,
-but the commands :func:`help`` and :func:`numpy.source` will usually list the filename
+but the commands :func:`help` and :func:`numpy.source` will usually list the filename
where the function is located. Python also has an ``inspect`` module (do
``import inspect``) which provides a ``getfile`` that often works.