Please help with MemoryError

Antoine Pitrou solipsis at pitrou.net
Sat Feb 13 00:30:12 CET 2010


Le Fri, 12 Feb 2010 23:49:38 +0100, Alf P. Steinbach a écrit :
> 
> The main reason for not using that term for Python is that "pass by
> reference" has the extremely strong connotation of being able to
> implement 'swap'.

But 'swap' is so easy to write as a one-line statement that it's foolish 
to want to make a Python function for it...

cheers

Antoine.





More information about the Python-list mailing list