On Dec 28, 7:53 am, "Matthew Franz" <[EMAIL PROTECTED]> wrote:
> I get class Searcher(object) but can't for the life of me see why
> (except to be intentionally obtuse) one would use the def
> searcher(rex) pattern which I assure you would call with
> searcher(r)(t) right?
>

The whole point of the thread was performance across multiple searches
for the one pattern. Thus one would NOT do
    searcher(r)(t)
each time a search was required; one would do
    s = searcher(r)
ONCE, and then do
    s(t)
each time ...
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to