What is a function parameter =[] for?

Antoon Pardon antoon.pardon at rece.vub.ac.be
Tue Nov 24 10:10:27 EST 2015


Op 24-11-15 om 15:18 schreef Ned Batchelder:

> 2) In Python, "value" means, what object does a name refer to, or what
> object did an evaluation produce.

I don't think this is correct because that would imply that objects don't
change values (since the value would be the object).

When a list is mutated, it's value has changed. That is how the word is
generally used in python.

-- 
Antoon.




More information about the Python-list mailing list