"Steve Willoughby" <st...@alchemy.com> wrote
if re.search != (r'Domains:', line):
Because you are assigning a tuple containing a string and a line of text
to a name which is currently bound to a function object (re.search)
Actually, he's COMPARING the two, not assigning. But comparing a
function object and a tuple is still not going to do anything sensible.
So he is, I didn't notice the ! in there.
I really must start wearing my glasses when using the PC!!! :-(
Alan G.
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor