| What is t? | Defining t | Calls to t.next() results in... |
| Iterator | t = iter(obj) | next item (or StopIteration exception) |
| Generator | def t(...): | resumption of suspended stack frame from |
| ... yield ... | previous yield to produce next item (or | |
| StopIteration exception) |