A question on modification of a list via a function invocation
Gregory Ewing
greg.ewing at canterbury.ac.nz
Mon Sep 4 04:16:42 EDT 2017
Stefan Ram wrote:
> JavaScript and Python do not have references as values
Yes, they do. The difference is that they don't have any
way of *not* having references as values, so there's less
need to use the word explicitly in that way -- most of
the time it's just understood. Nevertheless, terms such
as "object reference" and "reference to an object" do
get used in relation to Python when clarity is needed.
--
Greg
More information about the Python-list
mailing list