Is there a way to change values of scalar function parameters? I know you can change the values of parameters if the parameter is a mutable type like a list, but is there a way to update the value of scalar parameters of type integer or string? Simple example: Is there a way to have the following function update its changeme parameter in a 'call by reference' manner? >>> def test1( changeme ): changeme = 'Changed!' >>> ref_value = 'blah' >>> test1( ref_value ) >>> ref_value 'blah' Thanks! Malcolm
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor