--- Nis Jørgensen <[EMAIL PROTECTED]> wrote:

> 
> I disagree that word.istitle is the correct idiom -
> from the naming of
> the function in the original example, I would guess
> "word[0].isupper"
> would do the trick.
> 

<nitpick>
That would return something like this:

   <built-in method isupper of str object at 0x13ade0>

You want to add parens:

word[0].isupper()
</nitpick>





       
____________________________________________________________________________________Luggage?
 GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to