"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> I believe he knows about inheritance, but not about the behaviour of
> the assignment. In many other OO languages, I believe you cannot have
> the same name for both instance variable and class variable. javascript
> has similar behaviour.

I think more important is that in many languages you can't dynamically
add attributes to an object. So an attempt to bind a.i will either
fail, or be an assignment to A.i.

      <mike
-- 
Mike Meyer <[EMAIL PROTECTED]>                  http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to