from __future__ import generators
gzeljko
gzeljko at sezampro.yu
Wed Aug 8 18:44:13 EDT 2001
From: Steven D. Majewski <sdm7g at Virginia.EDU>
> On Thu, 9 Aug 2001, gzeljko wrote:
> > Is 'from __future__ import generators' really
> > necessary ?
>
> Only if you want to use generators.
> Iterators work without "from __future__ ..."
> but yield is just a normal id to the grammar instead of a keyword
> without it.
>
Yes I know, but ...
Is 1 'yield' worth 100000 'from __future__ import generators' ? :)
gzeljko
> -- Steve Majewski
>
>
>
More information about the Python-list
mailing list