Message137167
specification
1)
str.upper()¶
Return a copy of the string converted to uppercase.
2)
str.isupper()¶
Return true if all cased characters in the string are uppercase and there is at least one cased character, false otherwise. Cased characters are those with general category property being one of “Lu”, “Ll”, or “Lt” and uppercase characters are those with general category property “Lu”.
>>> '\u1ff3'
'ῳ'
>>> '\u1ff3'.islower()
True
>>> '\u1ff3'.upper()
'ῼ'
>>> '\u1ff3'.upper().isupper()
False
>>> |
|
Date |
User |
Action |
Args |
2011-05-29 04:49:20 | py.user | set | recipients:
+ py.user |
2011-05-29 04:49:20 | py.user | set | messageid: <1306644560.56.0.146552718337.issue12204@psf.upfronthosting.co.za> |
2011-05-29 04:49:19 | py.user | link | issue12204 messages |
2011-05-29 04:49:19 | py.user | create | |
|