Cameron Patrick wrote:
Nope, no fall-through in that one, so it doesn't help. It /is/ nifty though :-)
Uh, there was a fall through there. Notice that if x has a value that isn't in the dictionary the if will fall through to the else.
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
PGP Key: 8B6E99C5 | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------
Attachment:
pgpiGURCrN8y0.pgp
Description: PGP signature