[Python-ideas] sentinel_exception argument to `iter`

Stephen J. Turnbull turnbull at sk.tsukuba.ac.jp
Fri Feb 7 10:49:12 CET 2014


Steven D'Aprano writes:

 > iter(func, "NOBODY expects the Spanish Inquisition!!!")

+1 Code Snippet of the Week!

-- 
スティーヴェン・ジョン・ターンブル准教授
筑波大学 システム情報系 社会工学域
81+(0)29-853-5091         turnbull at sk.tsukuba.ac.jp
http://turnbull.sk.tsukuba.ac.jp/


More information about the Python-ideas mailing list