joining strings question

Tim Chase python.list at tim.thechases.com
Fri Feb 29 14:09:06 EST 2008


I V wrote:
> 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() ?

For my part?  forgetfulness brought on by underuse of .isupper()

-tkc




More information about the Python-list mailing list