Steven D'Aprano <[EMAIL PROTECTED]> wrote:

> If you think about Python
> as if it were C or Java, you will forever be confused about its behaviour.

Thinking of it as Java actually works great here.

> Understand Python's call by object behaviour, and it will all make sense.

Java's behavior is identical, excepting only Java's "primitives" (e.g.
floats), but definitely identical e.g. for strings (also immutable) and
class instances (normally mutable).


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

Reply via email to