Doesn't know what it wants

Jeroen Ruigrok van der Werven asmodai at in-nomine.org
Sat Jan 26 08:56:02 EST 2008


-On [20080126 08:31], Steven D'Aprano (steve at REMOVE-THIS-cybersource.com.au) wrote:
>The OP's code calls vec2d with a single tuple argument (0,0). Jeroen's 
>version calls vec2d with two int arguments, 0 and 0.

Yes, but it was not what I intended at all.

I guess I am just a bit too used to tacking on a , to denote a tuple since in
almost every other language seeing (()) is just an additional layer of braces.
I had totally forgotten Python would make it a tuple.

And I guess my head was still stuck with some other languages as well when I
made my other suggestion. Mea culpa.

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
We have met the enemy and they are ours...



More information about the Python-list mailing list