> def switch(choice, functions = [cf0, cf1, cf2, cf3])

should we really be showing folks using a mutable object as a default
argument? ;-)

i'd suggest: (1) changing it to a tuple, or (2) None and figure it out
after that.

cheers,
-wesley
_______________________________________________
Edu-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/edu-sig

Reply via email to