On Wed, 11 Nov 2009 03:52:45 -0800, Carl Banks wrote: >> This is where a helper function is good. You want a dispatcher: > > No I really don't. I want to be able to see the action performed > adjacent to the test, and not have to scroll up to down ten pages to > find whatever function it dispatched to.
Then re-write the dispatcher to return a tuple (match_object, method_to_call) and then call them there at the spot. -- Steven -- http://mail.python.org/mailman/listinfo/python-list