summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/f2py/__init__.py4
-rwxr-xr-xnumpy/f2py/f2py2e.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/numpy/f2py/__init__.py b/numpy/f2py/__init__.py
index 47354cd9d..a0fb73619 100644
--- a/numpy/f2py/__init__.py
+++ b/numpy/f2py/__init__.py
@@ -71,8 +71,8 @@ def compile(source,
Examples
--------
- .. include:: compile_session.dat
- :literal:
+ .. literalinclude:: code/results/compile_session.dat
+ :language: python
"""
import tempfile
diff --git a/numpy/f2py/f2py2e.py b/numpy/f2py/f2py2e.py
index f45374be6..2e267cc6c 100755
--- a/numpy/f2py/f2py2e.py
+++ b/numpy/f2py/f2py2e.py
@@ -416,8 +416,8 @@ def run_main(comline_list):
Examples
--------
- .. include:: run_main_session.dat
- :literal:
+ .. literalinclude:: code/results/run_main_session.dat
+ :language: python
"""
crackfortran.reset_global_f2py_vars()