Collin Winter wrote:
> So, reasoning by analogy would point to something like
> Generator(is_sent=int, yields=int). 

You'd probably want this to be Iterator(...) instead of Generator(...), 
since the *return value* is an iterator.  (It's the function itself 
that's a generator function, not its return value.)

-Edward

_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to