Can Python function return multiple data?
Alain Ketterlin
alain at universite-de-strasbourg.fr.invalid
Fri Jun 5 03:11:36 EDT 2015
Grant Edwards <invalid at invalid.invalid> writes:
[...]
> Or to be a bit obtuse: Python parameters are passed by value, but all
> values are references.
Exactly, that's a perfect description. There's is no need for a new
name. As a corollary, all names (including "variables" and object
attributes) are references.
-- Alain.
More information about the Python-list
mailing list