"jmp" <[email protected]> a écrit dans le message de news:[email protected]...
On 10/07/2016 01:38 PM, Daiyue Weng wrote:
So the rule of thumb for default argument value is "No mutable" Cheers,
It can be used to store some variables from one call of
a function to an other one.
def test( _store={'x':0}):
x = _store['x']
..... do some stuff
_store['x'] = x
--
https://mail.python.org/mailman/listinfo/python-list
