define "generator" (glossary bug?)

Alan G Isaac alan.isaac at gmail.com
Fri May 22 19:27:47 CEST 2009


> On Fri, 22 May 2009 16:38:40 GMT, Alan G Isaac <alan.isaac at gmail.com> 
> wrote:
>> I believe the glossary
>> http://wiki.python.org/moin/PythonGlossary
>> is missing the definition for 'generator'
>> and has used instead the definition for 'generator function',
>> which term is missing from the glossary.
>>
>> Standard usage as I understand it is found here:
>> http://docs.python.org/3.0/reference/simple_stmts.html#the-yield-statement 


On 5/22/2009 1:07 PM Jean-Paul Calderone apparently wrote:
> Well, it seems someone edited the wiki since you sent your message, since
> there is no longer an entry for "generator function", but instead one for
> "generator".
> 
> However, I think it was right before. 


Nope, it is still the same, and that is the problem.
(My "which term" refered to 'generator function'.)

So you agree: it is a documentation bug in the glossary.

Alan Isaac



More information about the Python-list mailing list