On Saturday 2012 October 13 11:29, Matthew Ngaha wrote:
> >>> hasattr(e, e.att)
>
> False

>>> hasattr(e, "att")
True

hasattr wants the second parameter to be a string.
You gave it a string.
The string you gave it was "Testing".

-- 
Yonder nor sorghum stenches shut ladle gulls stopper torque wet 
strainers.

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to