diff options
| author | MelissaWM <melissawm@gmail.com> | 2020-09-23 23:09:46 -0300 |
|---|---|---|
| committer | MelissaWM <melissawm@gmail.com> | 2020-09-24 13:51:06 -0300 |
| commit | bf71a62b52dedd8ceaa47a96c144a3584e1bd95b (patch) | |
| tree | c4c8857908f3c54dc2869944b7905ba6d5fb6d2f /numpy/f2py/tests/src | |
| parent | ffb6f185b5775c612524496e98c8e6240f9bfccd (diff) | |
| download | numpy-bf71a62b52dedd8ceaa47a96c144a3584e1bd95b.tar.gz | |
BUG: Fixes module data docstrings.
Fixes gh-15325
Diffstat (limited to 'numpy/f2py/tests/src')
| -rw-r--r-- | numpy/f2py/tests/src/module_data/mod.mod | bin | 0 -> 412 bytes | |||
| -rw-r--r-- | numpy/f2py/tests/src/module_data/module_data_docstring.f90 | 12 |
2 files changed, 12 insertions, 0 deletions
diff --git a/numpy/f2py/tests/src/module_data/mod.mod b/numpy/f2py/tests/src/module_data/mod.mod Binary files differnew file mode 100644 index 000000000..8670a97e9 --- /dev/null +++ b/numpy/f2py/tests/src/module_data/mod.mod diff --git a/numpy/f2py/tests/src/module_data/module_data_docstring.f90 b/numpy/f2py/tests/src/module_data/module_data_docstring.f90 new file mode 100644 index 000000000..4505e0cbc --- /dev/null +++ b/numpy/f2py/tests/src/module_data/module_data_docstring.f90 @@ -0,0 +1,12 @@ +module mod + integer :: i + integer :: x(4) + real, dimension(2,3) :: a + real, allocatable, dimension(:,:) :: b +contains + subroutine foo + integer :: k + k = 1 + a(1,2) = a(1,2)+3 + end subroutine foo +end module mod |
