[EMAIL PROTECTED] wrote:
> i actually realized there are 3 potentials for class names.  either
> food or drink or dessert.  so my question is whether or not i can alter
> your function to look like this?
> 
>  def isFoodOrDrinkOrDesert(attr):
>     return attr in ['food', 'drink', 'desert']

Check the spelling of 'dessert' and give it a try.

Kent
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to