Adam DePrince wrote:
> Question #2: 
> 
> What should delete() return?   I currently have it returning the iter
> itself to make it possible to say:
> 
> value = iter.delete().next()

Python doesn't generally return self for call-chaining purposes.  I'd 
say delete() should return None.
--
Benji York
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
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