needed Python code

holger krekel pyth at devel.trillke.net
Wed May 22 20:53:37 EDT 2002


Delaney, Timothy wrote:
> > From: holger krekel [mailto:pyth at devel.trillke.net]
> > 
> > Gabe Newcomb wrote:
> > > I should probably make a PEP for this one:
> > > 
> > > for line in python_mail_contents:
> > > 	if line.find('-ly yours'):
> > > 		stuff_mail_in_garbage(python_mail)
> > 
> > you would unfortunately sort out mail from some 
> > very good python developers ...
> 
> Actually, you would unfortunately sort out mail from everyone ...
> I don't know a single person who has a line starting with '-ly yours' ...

How do you know that 'line' is a string in all this pseudocode?

:-) holger





More information about the Python-list mailing list