Method much slower than function?

Neil Cerutti horpner at
Thu Jun 14 14:51:15 CEST 2007

On 2007-06-14, Bruno Desthuilliers
<bruno.42.desthuilliers at> wrote:
> Neil Cerutti a écrit :
> (snip)
>> class bar:
>>     def readgenome(self, filehandle):
>>         self.s = ''.join(line.strip() for line in filehandle)
>            self.s = ''.join(line.strip() for line in filehandle if not 
> '>' in line)

Thanks for that correction.

Neil Cerutti
I don't know what to expect right now, but we as players have to do what we've
got to do to make sure that the pot is spread equally. --Jim Jackson

More information about the Python-list mailing list