functions, list, default parameters

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Tue Nov 2 04:30:40 CET 2010

In message <20101021235138.609fe668 at geekmail.INVALID>, Andreas Waldenburger 

> While not very commonly needed, why should a shared default argument be
> forbidden?

Because it’s safer to disallow it than to allow it.

More information about the Python-list mailing list