On 8/10/06, James Y Knight <[EMAIL PROTECTED]> wrote:
> It makes just as much sense as assigning to an array access, and the
> semantics would be pretty similar.

No. Array references (x[i]) and attribute references (x.a) represent
"locations". Function calls represent values. This is no different
than the distinction between lvalues and rvalues in C.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to