joining strings question

I V ivlenin at gmail.com
Fri Feb 29 13:56:11 EST 2008


On Fri, 29 Feb 2008 08:18:54 -0800, baku wrote:
>     return s == s.upper()

A couple of people in this thread have used this to test for an upper 
case string. Is there a reason to prefer it to s.isupper() ?



More information about the Python-list mailing list