homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nickd
Recipients nickd
Date 2009年09月27日.17:23:25
SpamBayes Score 0.007096072
Marked as misclassified No
Message-id <1254072206.87.0.820338448521.issue7008@psf.upfronthosting.co.za>
In-reply-to
Content
str.title() capitalizes the first letter after an apostrophe:
>>> "This isn't right".title()
"This Isn'T Right"
The library function string.capwords, which appears to have exactly the
same responsibility, doesn't exhibit this behavior:
>>> string.capwords("This isn't right")
"This Isn't Right"
Tested on 2.6.2 on Mac OS X
History
Date User Action Args
2009年09月27日 17:23:26nickdsetrecipients: + nickd
2009年09月27日 17:23:26nickdsetmessageid: <1254072206.87.0.820338448521.issue7008@psf.upfronthosting.co.za>
2009年09月27日 17:23:25nickdlinkissue7008 messages
2009年09月27日 17:23:25nickdcreate

AltStyle によって変換されたページ (->オリジナル) /