Try again ...

Just looking over your code quickly ... the function 'lookup' returns
either True or False (a boolean) depending on whether matchcount ==
pattcount.  Then in the declaration of the function 'timeloop' this
return value gets bound to 'dofunction.'  The subsequent call
'dofunction()' fails, because a boolean is not callable.

Asun

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

Reply via email to