Skip to content

Commit 156c005

Browse files
committed
MAINT,DOC: Refactor, syntax highlighting for f2py
1 parent 80c28d1 commit 156c005

38 files changed

+68
-69
lines changed

doc/source/f2py/advanced.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ signature files using ``usercode`` and ``pymethoddef`` statements
1010
(they must be used inside the ``python module`` block). For
1111
example, the following signature file ``spam.pyf``
1212

13-
.. include:: spam.pyf
13+
.. include:: ./code/spam.pyf
1414
:literal:
1515

1616
wraps the C library function ``system()``::
@@ -19,7 +19,7 @@ wraps the C library function ``system()``::
1919

2020
In Python:
2121

22-
.. include:: spam_session.dat
22+
.. include:: ./code/results/spam_session.dat
2323
:literal:
2424

2525
Modifying the dictionary of a F2PY generated module
@@ -29,7 +29,7 @@ The following example illustrates how to add user-defined
2929
variables to a F2PY generated extension module. Given the following
3030
signature file
3131

32-
.. include:: var.pyf
32+
.. include:: ./code/var.pyf
3333
:literal:
3434

3535
compile it as ``f2py -c var.pyf``.
@@ -41,7 +41,7 @@ additional details).
4141

4242
In Python:
4343

44-
.. include:: var_session.dat
44+
.. include:: ./code/results/var_session.dat
4545
:literal:
4646

4747

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)