joining strings question

Steve Holden steve at holdenweb.com
Fri Feb 29 14:52:12 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() ?

In my case you can put it down to ignorance or forgetfulness, depending 
on how forgiving you feel.

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/




More information about the Python-list mailing list