Message137682
| Author |
py.user |
| Recipients |
py.user |
| Date |
2011年06月05日.05:54:58 |
| SpamBayes Score |
0.0052688634 |
| Marked as misclassified |
No |
| Message-id |
<1307253299.62.0.8609224268.issue12266@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
specification
str.capitalize()¶
Return a copy of the string with its first character capitalized and the rest lowercased.
>>> '\u1ffc', '\u1ff3'
('ῼ', 'ῳ')
>>> '\u1ffc'.isupper()
False
>>> '\u1ff3'.islower()
True
>>> s = '\u1ff3\u1ff3\u1ffc\u1ffc'
>>> s
'ῳῳῼῼ'
>>> s.capitalize()
'ῼῳῼῼ'
>>>
A: lower
B: title
A -> B & !B -> A |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年06月05日 05:54:59 | py.user | set | recipients:
+ py.user |
| 2011年06月05日 05:54:59 | py.user | set | messageid: <1307253299.62.0.8609224268.issue12266@psf.upfronthosting.co.za> |
| 2011年06月05日 05:54:59 | py.user | link | issue12266 messages |
| 2011年06月05日 05:54:58 | py.user | create |
|