Movatterモバイル変換


[0]ホーム

URL:


PyArg_Parse weirds

Robin Beckerrobin at jessikat.fsnet.co.uk
Tue Apr 24 06:31:22 EDT 2001


In article <m34rveehiy.fsf at atrus.jesus.cam.ac.uk>, Michael Hudson<mwh21 at cam.ac.uk> writes>Robin Becker <robin at jessikat.fsnet.co.uk> writes:>>> can someone jog my cpu to solve a problem with this C fragment>[snip]>>>> so I'm getting the attribute ok and it is a float (checked in>> python) so why does my PyArg_Parse of v fail?>>Works for me (well, something similar does).  What exception is>getting set?  If it's>>Traceback (most recent call last):>  File "<stdin>", line 1, in ?>TypeError: bad argument type for built-in operation>>then you probably haven't passed in a float.  IOW, I don't think the>problem's in the code you posted.>>Could be wrong, of course.>>CHeers,>M.>I just get 0 back from the PyArg_Parse so have to assume it didn't workand as the value printed out suggests it hasn't put anything into r.-- Robin Becker


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp