joining strings question

Gerard Flanagan grflanagan at gmail.com
Fri Feb 29 15:32:24 EST 2008


On Feb 29, 7:56 pm, I V <ivle... at gmail.com> 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() ?

Premature decreptiude, officer...

Gerard



More information about the Python-list mailing list