summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2023-01-15 15:53:50 -0500
committerGitHub <noreply@github.com>2023-01-15 15:53:50 -0500
commit3c3a6b5157d4d36172f59cda2fc9e2badf5dfbe5 (patch)
tree14fec438c9c939efc793859592f6b06015a68a77
parent2303556949b96c4220ed86fa4554f6a87dec3842 (diff)
parent5f0a7663654d31203ab9c345caba880483a2d439 (diff)
downloadnumpy-3c3a6b5157d4d36172f59cda2fc9e2badf5dfbe5.tar.gz
Merge pull request #23013 from HaoZeke/fixMesonF2pyDoc
DOC: Fix a typo in f2py meson docs
-rw-r--r--doc/source/f2py/buildtools/meson.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/f2py/buildtools/meson.rst b/doc/source/f2py/buildtools/meson.rst
index 6b4392880..23b454ee5 100644
--- a/doc/source/f2py/buildtools/meson.rst
+++ b/doc/source/f2py/buildtools/meson.rst
@@ -23,7 +23,7 @@ build system like ``meson``. We will acquire this by:
.. code-block:: bash
- python -n numpy.f2py fib1.f -m fib2
+ python -m numpy.f2py fib1.f -m fib2
Now, consider the following ``meson.build`` file for the ``fib`` and ``scalar``
examples from :ref:`f2py-getting-started` section:
@@ -57,7 +57,7 @@ to lowercase the original Fortran file with say:
.. code-block:: bash
tr "[:upper:]" "[:lower:]" < fib1.f > fib1.f
- python -n numpy.f2py fib1.f -m fib2
+ python -m numpy.f2py fib1.f -m fib2
meson --wipe builddir
meson compile -C builddir
cd builddir
@@ -68,7 +68,7 @@ possible. The easiest way to solve this is to let ``f2py`` deal with it:
.. code-block:: bash
- python -n numpy.f2py fib1.f -m fib2 --lower
+ python -m numpy.f2py fib1.f -m fib2 --lower
meson --wipe builddir
meson compile -C builddir
cd builddir