[Python-ideas] data structures should have an .any() method

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Sep 7 02:35:14 CEST 2009


Georg Brandl wrote:

> But if it's a sequence, you can simply do s[0], can't you?

Not if it's an iterator, which it probably will be in
the case of a DB API.

-- 
Greg



More information about the Python-ideas mailing list