On Jan 26, 5:32 pm, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]
nomine.org> wrote:
> -On [20080126 06:26], Tim Rau ([EMAIL PROTECTED]) wrote:
>
> >Line 147 reads:
> >        moi = cp.cpMomentForCircle(self.mass, .2, 0, vec2d((0,0)))
>
> I think it expects something like:
>
> # badly named variable, pick something better depending on context
> temp = vec2d(0, 0)
> cp.cpMomentForCircle(self.mass, .2, 0, temp)

That *cannot* give a different result in Python. The called function
will be presented with *exactly* the same object as the OP's code
does.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to