frange() question

John J. Lee jjl at pobox.com
Sat Sep 22 09:27:56 CEST 2007


Carsten Haese <carsten at uniqsys.com> writes:

> On Thu, 2007-09-20 at 18:55 +0000, John J. Lee wrote:
>> Functions are never generators, senso stricto.  There are "generator
>> functions", which *return* (or yield) generators when you call them.
>
> Actually, a generator function is a function that returns a generator.

Read what I wrote again.  What makes you begin your sentence with
"Actually", rather than "Putting it another way"?


[...snip more sensible stuff I must assume was directed at the OP...]


John



More information about the Python-list mailing list