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
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
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
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