By value or by reference?

Jorge Godoy godoy at ieee.org
Mon Oct 18 11:37:20 EDT 2004


"Riccardo Rossi" <riccardo.rorssi76 at email.it> writes:

> Hi all!
>
> How does Python pass arguments to a function? By value or by reference?

IIRC, by reference.  It uses a copy on write algorithm. 

-- 
Godoy.     <godoy at ieee.org>



More information about the Python-list mailing list