[f2py] Automatic documentation
"laurent labracherie" <[email protected]>
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <[email protected]> |
Hi
do you know if there is a way to transfer a specific documentation to the
__doc__ of the module function ?
I can imagine something like :
subroutine sum(a,b,s)
cf2py intent(out) : s
cf2py doc(This function returns the sum of a and b, s = a + b)
s = a + b
end
%> python -c 'print module.sum.__doc__'
function sum:
This function returns the sum of a and b, s = a + b
s : out
etc
thanks
laurent
_______________________________________________
f2py-users mailing list
f2py-users-Y4l6ocDipWCuvFJfX82//[email protected]
http://cens.ioc.ee/mailman/listinfo/f2py-users