anything like C++ references?

Aahz aahz at pythoncraft.com
Sun Jul 13 21:30:54 EDT 2003


In article <lq-cnWRG9rRuMIyiXTWJjQ at comcast.com>,
Terry Reedy <tjreedy at udel.edu> wrote:
>
>In Python, most builtin types are immutable.  The two mutable builtin
>types are lists and dicts.  Instances of user-defined classes are also
>mutable by default.

Actually, files are mutable, too.  Then again, so are modules.  And
functions.  Gee, there are an awful lot of built-in mutable types.  ;-)
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Not everything in life has a clue in front of it...."  --JMS




More information about the Python-list mailing list