from __future__ import generators

Raymond Hettinger othello at javanet.com
Sun Aug 12 22:35:29 EDT 2001


Out of 5800 lines of Python that I've either written or downloaded,
there are zero instances of 'yield'.

-- Raymond

Joal Heagney wrote:

>
>
> Only four uses of yield, and all in a documenting comment where
> occurance of keywords won't matter anycase. In addition to PIL, I've got
> packages for Tkinter, pygnome, pygtk, modulator, idle, pyglade and
> pynche installed, but perhaps a more intensive user of python should
> check their files as well?
> --
>       Joal Heagney is: _____           _____
>    /\ _     __   __ _    |     | _  ___  |
>   /__\|\  ||   ||__ |\  || |___|/_\|___] |
>  /    \ \_||__ ||___| \_|! |   |   \   \ !




More information about the Python-list mailing list