function parameters again

Peter Hansen peter at engcorp.com
Tue Jan 30 02:50:51 EST 2001


Fredrik Lundh wrote:
> 
> it is passed by reference.  but that doesn't help you here --
> integer objects cannot be modified, and assignment doesn't
> do what you think it does.

Heh heh... I'm glad I never saw a posting like this when
I was a newbie:

 'In Python, you can't change a number you store in a 
  variable, and assignment doesn't work.'

(As read with a heavy dose of newbie-ness in mind. :-)



More information about the Python-list mailing list