diff options
author | Takanori H <takanori17h@gmail.com> | 2020-10-11 21:00:44 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-11 13:00:44 +0100 |
commit | 588a517b68d9f273b607622dc854b1b3d014ac58 (patch) | |
tree | 1f73e55ba09f7d960fef04912ec80376a16fdbf7 | |
parent | 07a54df60c6012da3b02a248c65cba9688681109 (diff) | |
download | numpy-588a517b68d9f273b607622dc854b1b3d014ac58.tar.gz |
DOC: Fix typo (#17534)
-rw-r--r-- | doc/source/user/numpy-for-matlab-users.rst | 2 |
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. |