Message93180
| 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:26 | nickd | set | recipients:
+ nickd |
| 2009年09月27日 17:23:26 | nickd | set | messageid: <1254072206.87.0.820338448521.issue7008@psf.upfronthosting.co.za> |
| 2009年09月27日 17:23:25 | nickd | link | issue7008 messages |
| 2009年09月27日 17:23:25 | nickd | create |
|