Message137682
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 |
|
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 | |
|