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

Reply via email to