how much does Python model my Compsci course?
fredrik at pythonware.com
Wed Jun 6 02:28:52 EDT 2001
Roy Katz wrote:
> But Python looks as if it has invented a new form to (perhaps a
> variation on pass-by-ref) param passing, based on whether or
> not the object passed in is mutable (from what I understand...?)
no, you don't understand ;-)
the *only* difference between mutable and immutable objects is
that the former have methods that let *you* modify them.
Python doesn't care.
More information about the Python-list