Re: cls & self

2007-07-27 Thread Chris Mellon
On 7/27/07, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: > james_027 schrieb: > > hi, > > > > is cls & self the same thing? > > > > I have seen something like > > > > class A: > > def dosomething(cls): > >#doing somethin

Re: cls & self

2007-07-27 Thread Diez B. Roggisch
james_027 schrieb: > hi, > > is cls & self the same thing? > > I have seen something like > > class A: > def dosomething(cls): > #doing something > > How is cls & self differ? How is it use? cls and self are just names. And you most ce

Re: cls & self

2007-07-25 Thread Stargaming
On Thu, 26 Jul 2007 03:07:56 +, james_027 wrote: > hi, > > is cls & self the same thing? > > I have seen something like > > class A: > def dosomething(cls): > #doing something > > How is cls & self differ? How is it use? > > Tha

cls & self

2007-07-25 Thread james_027
hi, is cls & self the same thing? I have seen something like class A: def dosomething(cls): #doing something How is cls & self differ? How is it use? Thanks james -- http://mail.python.org/mailman/listinfo/python-list