>> You could also use a dict with type:method key/value pairings. This is >> closer to a switch/case than an if...elif chain is.
of course, that's a great idea... thanks.
-- http://mail.python.org/mailman/listinfo/python-list
>> You could also use a dict with type:method key/value pairings. This is >> closer to a switch/case than an if...elif chain is.
of course, that's a great idea... thanks.
-- http://mail.python.org/mailman/listinfo/python-list