A question on modification of a list via a function invocation

Grant Edwards grant.b.edwards at gmail.com
Fri Aug 18 10:23:07 EDT 2017


On 2017-08-17, Ben Bacarisse <ben.usenet at bsb.me.uk> wrote:

> What goes wrong when someone thinks of Python as passing by value but
> the value of an expression is an object reference?

What usually goes wrong is that people don't combined that thinking
with an understanding of what the "=" operator does.

-- 
Grant Edwards               grant.b.edwards        Yow! HUMAN REPLICAS are
                                  at               inserted into VATS of
                              gmail.com            NUTRITIONAL YEAST ...




More information about the Python-list mailing list