On Saturday, March 14, 2015 at 11:34:27 AM UTC+5:30, Steven D'Aprano wrote:
> 
> A generator (function) may be a function which returns an iterator,...

I find "generator-function" misleading in the same way that "pineapple" 
misleadingly suggests "apple that grows on pines"

A builtin function is a function in the builtin (or builtins -- can never 
remember) module
A pure function is function that does not assign or mutate non-locals
A Steven-function is a function that presumably Steven wrote 

However a "generator function" is a weird sort of function (at best).
Not regarding it as a function is IMO more reasonable.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to