Stephen Nelson-Smith wrote:
<snip>
NameError: global name 'date' is not defined

How does __iter__ know about date?  Should that be self.date?

S.

Yes.


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

Reply via email to