On Mon, 24 Dec 2012 00:19:18 -0500, Dave Angel wrote:

> Nobody's going to be able to understand your code if you persist in
> using self in unpythonic ways.  It's used as the first argument of a
> class method. Period.

To be pedantic, "self" is the conventional argument for *instance* 
methods, not class methods. For class methods, the conventional first 
argument is "cls", not "self".



-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to