Re: [Tutor] Required method to make foo(*Vector(0,0,0)) work.

2007-12-18 Thread Tiger12506
> Sorry I wasn't quite sure how to explain it it's a vector class i've > written > myself. > I've worked it out now, I was using a vector as part of a quaternion and > wanted to > be able to pass a vector or individual numbers so it seemed the easiest > way > to be > able to use the *sequence syn

Re: [Tutor] Required method to make foo(*Vector(0,0,0)) work.

2007-12-18 Thread Adam Bark
On 19/12/2007, John Fouhy <[EMAIL PROTECTED]> wrote: > > On 19/12/2007, Adam Bark <[EMAIL PROTECTED]> wrote: > > I want to be able to get the values for my vector class but I don't know > > what method you need to get the * thing to work ie how to make it a > sequence > > i think. Anybody know how

Re: [Tutor] Required method to make foo(*Vector(0,0,0)) work.

2007-12-18 Thread John Fouhy
On 19/12/2007, Adam Bark <[EMAIL PROTECTED]> wrote: > I want to be able to get the values for my vector class but I don't know > what method you need to get the * thing to work ie how to make it a sequence > i think. Anybody know how to do this? > Thanks in advance. If you're confused about python

Re: [Tutor] Required method to make foo(*Vector(0,0,0)) work.

2007-12-18 Thread Kent Johnson
Adam Bark wrote: > I want to be able to get the values for my vector class but I don't know > what method you need to get the * thing to work ie how to make it a > sequence i think. Anybody know how to do this? I'm not a very good mind reader! What vector class are you talking about? What are y

[Tutor] Required method to make foo(*Vector(0,0,0)) work.

2007-12-18 Thread Adam Bark
I want to be able to get the values for my vector class but I don't know what method you need to get the * thing to work ie how to make it a sequence i think. Anybody know how to do this? Thanks in advance. ___ Tutor maillist - Tutor@python.org http://m