On 06/29/2013 07:56 AM, Michael Torrie wrote: > x = [ 34, ] > > def test_func( out ): > out[0] += 12 > > test_func(x) > > print (x)
Well, actually print (x[0]) -- http://mail.python.org/mailman/listinfo/python-list
On 06/29/2013 07:56 AM, Michael Torrie wrote: > x = [ 34, ] > > def test_func( out ): > out[0] += 12 > > test_func(x) > > print (x)
Well, actually print (x[0]) -- http://mail.python.org/mailman/listinfo/python-list