I was just experimenting in Python with different syntax for passing in a generator as an argument to a function, and I realized that although I\'ve been doing this,
I'm sure reading the python grammar will answer that question.
If you prefer plain English over grammars: PEP-289 explains it.