Re: joining strings question
- From: Peter Otten <__peter__@xxxxxx>
- Date: Fri, 29 Feb 2008 20:18:09 +0100
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() ?
Note that these tests are not equivalent:
(False, True)s = "123"
s.isupper(), s.upper() == s
Peter
.
- References:
- joining strings question
- From: patrick . waldo
- Re: joining strings question
- From: baku
- Re: joining strings question
- From: I V
- joining strings question
- Prev by Date: Re: why not bisect options?
- Next by Date: at-exit-thread
- Previous by thread: Re: joining strings question
- Next by thread: Re: joining strings question
- Index(es):