[f2py] f2py failed for keyword error

Evan Mason evanmason at gmail.com
Wed Apr 6 17:29:07 EEST 2011


> It is crucial to see the actual python call in this case.  But
> please note that the argument "lrn" is optional and therefore
> probably shifted to the right of the argument list.  To be sure, you
> should have a look at the generated docstring (np.info(<callable>)).


Thanks a lot for your reply. I checked np.info(), and shifted 'lrn' to the right
as you suggested and it works. I didn't realise it was sensitive to the ordering.

Evan







More information about the f2py-users mailing list