On Tuesday, April 8, 2014 7:03:31 AM UTC+5:30, Mark H. Harris wrote: > I have another question for y'all, is a function (particularly a > generator) a noun or a verb? Does a function (or generator) 'do' > something (based on name and parms) or does it 'return' something based > on name and parms? Based on name and parms should a function (or > generator) function as a noun, or function as a verb, or *both*? --or, > are Classes nouns only, and all functions *are* verbs only?
If your question is "What is (function/generator...)?" the answer is noun If your question is "What does it (function/generator...) do/behave?" the answer is verb -- https://mail.python.org/mailman/listinfo/python-list