diff options
| author | Pauli Virtanen <pav@iki.fi> | 2014-01-02 22:12:01 +0200 |
|---|---|---|
| committer | Pauli Virtanen <pav@iki.fi> | 2014-01-02 22:19:47 +0200 |
| commit | 75c2d2fe3cc9daa6589707fb6b8512ffa48fc365 (patch) | |
| tree | 32e729ca94dd28e06c7c2e10fd250f2ce4b91a2a /doc/source/f2py/extcallback_session.dat | |
| parent | a32807e61b25205cc08d552127234b56709c6242 (diff) | |
| download | numpy-75c2d2fe3cc9daa6589707fb6b8512ffa48fc365.tar.gz | |
DOC: move f2py documentation under doc/ and link its user guide with Sphinx
Diffstat (limited to 'doc/source/f2py/extcallback_session.dat')
| -rw-r--r-- | doc/source/f2py/extcallback_session.dat | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/source/f2py/extcallback_session.dat b/doc/source/f2py/extcallback_session.dat new file mode 100644 index 000000000..c22935ea0 --- /dev/null +++ b/doc/source/f2py/extcallback_session.dat @@ -0,0 +1,19 @@ +>>> import pfromf +>>> pfromf.f2() +Traceback (most recent call last): + File "<stdin>", line 1, in ? +pfromf.error: Callback fpy not defined (as an argument or module pfromf attribute). + +>>> def f(): print "python f" +... +>>> pfromf.fpy = f +>>> pfromf.f2() + in f2, calling f2py.. +python f +>>> pfromf.f1() + in f1, calling f2 twice.. + in f2, calling f2py.. +python f + in f2, calling f2py.. +python f +>>>
\ No newline at end of file |
