[EMAIL PROTECTED] schrieb:

> Would you normally write methods to retrive and set your class
> variables or just refrence them directly?
> 

you start by referencing them directly and ONLY if you need you can add
getters and setters later on without breaking any client code.
see the property function.

An explanation for the motivation behind this and python's thinking can
be found here:

http://tinyurl.com/wfgyw

-- 
  Servus, Gregor
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to