Terry Reedy <tjre...@udel.edu>:

> On 3/12/2015 9:35 AM, Rustom Mody wrote:
>> This is more a question about standard terminology/conventions than
>> about semantics - of course assuming I understand :-)
>>
>> Say I have a simple yielding function:
>>
>> def foo(x):
>>     yield x+1
>>     yield x+2
>
> This is a generator function

Which in the official language specification is an elaborate synonym of
a generator.


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to