diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-09-19 22:38:15 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-09-19 22:38:15 +0200 |
commit | c85e31e6331efe96034fe76c5a6b9d60698c0f23 (patch) | |
tree | 667f39fcc57ef11ec6929074e65a2a7d130b5307 /doc | |
parent | 882c02853f0cc3d08e46b25ff199bd10061e340f (diff) | |
parent | 0cabea84fa0c21ca614f9187e56318f328d964b1 (diff) | |
download | numpy-c85e31e6331efe96034fe76c5a6b9d60698c0f23.tar.gz |
Merge pull request #5076 from kanhua/kh_fix
DOC: Minor fix on c-info.python-as-glue.rst
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/user/c-info.python-as-glue.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/source/user/c-info.python-as-glue.rst b/doc/source/user/c-info.python-as-glue.rst index 985d478e0..0560c005e 100644 --- a/doc/source/user/c-info.python-as-glue.rst +++ b/doc/source/user/c-info.python-as-glue.rst @@ -249,8 +249,14 @@ necessary to tell f2py that the value of n depends on the input a (so that it won't try to create the variable n until the variable a is created). +After modifying ``add.pyf``, the new python module file can be generated +by compiling both ``add.f95`` and ``add.pyf``:: + + f2py -c add.pyf add.f95 + The new interface has docstring: + >>> import add >>> print add.zadd.__doc__ zadd - Function signature: c = zadd(a,b) |