Output arguments are always returned

Load the module and print its doc string:
>>> import hw
>>> print hw.__doc__
Functions:
  hw1 = hw1(r1,r2)
  hw2(r1,r2)
  s = hw3(r1,r2)
Oops! hw3 takes only two arguments and returns s!
This is the ``Pythonic'' function style; input data are arguments, output data are returned
By default, F2PY treats all arguments as input
F2PY generates Pythonic interfaces, different from the original Fortran interfaces, so check out the module's doc string!

previousnexttable of contents