Re: understaning "self"

2008-02-21 Thread D'Arcy J.M. Cain
On Thu, 21 Feb 2008 11:07:18 -0800 (PST) 7stud <[EMAIL PROTECTED]> wrote: > d = Dog() > d.bark('Woof!') > > and the call: > > d.bark('Woof!') > > would be transformed into: > > d.bark(d, 'Woof!') Actually, Dog.bark(d, 'Woof!') -- D'Arcy J.M. Cain <[EMAIL PROTECTED]> | Democracy is t

Re: understaning "self"

2008-02-21 Thread 7stud
On Feb 21, 11:49 am, 7stud <[EMAIL PROTECTED]> wrote: > On Feb 21, 6:34 am, "Poppy" <[EMAIL PROTECTED]> wrote: > > > > > I've been searching online to try get a better understanding of what "self" > > does when I define this parameter in my class functions. All I'm finding is > > debates on whether

Re: understaning "self"

2008-02-21 Thread 7stud
On Feb 21, 6:34 am, "Poppy" <[EMAIL PROTECTED]> wrote: > I've been searching online to try get a better understanding of what "self" > does when I define this parameter in my class functions. All I'm finding is > debates on whether  "self" has any value to the language but that doesn't > help me in

Re: understaning "self"

2008-02-21 Thread Nicola Musatti
On Feb 21, 2:34 pm, "Poppy" <[EMAIL PROTECTED]> wrote: > I've been searching online to try get a better understanding of what "self" > does when I define this parameter in my class functions. All I'm finding is > debates on whether "self" has any value to the language but that doesn't > help me in

Re: understaning "self"

2008-02-21 Thread Poppy
Thanks for your explanation and pointer. "Mike Driscoll" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Feb 21, 7:34 am, "Poppy" <[EMAIL PROTECTED]> wrote: >> I've been searching online to try get a better understanding of what >> "self" >> does when I define this parameter in

Re: understaning "self"

2008-02-21 Thread Mike Driscoll
On Feb 21, 7:34 am, "Poppy" <[EMAIL PROTECTED]> wrote: > I've been searching online to try get a better understanding of what "self" > does when I define this parameter in my class functions. All I'm finding is > debates on whether "self" has any value to the language but that doesn't > help me in

understaning "self"

2008-02-21 Thread Poppy
I've been searching online to try get a better understanding of what "self" does when I define this parameter in my class functions. All I'm finding is debates on whether "self" has any value to the language but that doesn't help me in my newbie question. So the code excerpt below is from "Begi