On 10 Aug., 17:12, "Diez B. Roggisch" wrote:
> Cornelius Keller wrote:
[snip]
>
> http://effbot.org/zone/default-values.htm
>
> Diez
Ok thank you.
I' understand now why.
I still think this is very confusing, because default values don't
behave like most peop
Hi,
I'm a quite fresh python programmer, (6 Month python experience).
Today I found something I absolotly don'nt understand:
given the following function:
def test_effect(class_id=None,class_ids=[]):
if class_id is not None:
if class_id not in class_ids:
class_ids.append(