prefix search on a large file

Scott David Daniels scott.daniels at acm.org
Thu Oct 12 15:56:34 EDT 2006


Tim Chase wrote:
>>      def leaders(sorted_list):
>>          held = None
>>          for phrase in held:
> ... I suspect you mean
>     for phrase in sorted_list:
> no?

Ooops -- renaming code before posting should get its own test.
You are absolutely correct.


--Scott David Daniels
scott.daniels at acm.org



More information about the Python-list mailing list