Il giorno 30 giugno 2014 15:31, Riccardo Vianello < [email protected]> ha scritto:
> > Credo dovresti poter trovare un'illustrazione di questo comportamento nel > paragrafo "Mutable default arguments" a questo link: > http://docs.python-guide.org/en/latest/writing/gotchas/ > > > Grazie! Aggiunto già ai preferiti. Per i posteri la frase esplicativa è: "Python’s default arguments are evaluated *once *when the function is defined" Ciao -- ____________________________ Giuseppe Amato e-mail: [email protected]
_______________________________________________ Python mailing list [email protected] http://lists.python.it/mailman/listinfo/python
