Re: Modifying the default argument of function

2014-01-21 Thread
Le 21/01/2014 20:19, Chris Angelico a écrit : On Wed, Jan 22, 2014 at 6:11 AM, Mû wrote: The function acts as if there were a global variable x, but the call of x results in an error (undefined variable). I don't understand why the successive calls of f() don't return the same value:

Modifying the default argument of function

2014-01-21 Thread
don't know much about python, does anybody have a simple explanation please? -- Mû --- Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list