Changing the passed arguments value after returning from a module

Adrian Eyre a.eyre at optichrome.com
Fri Jan 21 09:25:23 EST 2000


> >>> import mymodule
> >>> i = (0,)
> >>> apply(mymodule.test, i)
> >>> print i
> 101

Slight correction here. Probably obvious, but...

>>> import mymodule
>>> i = (0,)
>>> apply(mymodule.test, i)
>>> print i
(101,)

--------------------------------------------
Adrian Eyre <a.eyre at optichrome.com>
http://www.optichrome.com 





More information about the Python-list mailing list