New submission from py.user <port...@yandex.ru>:

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

----------
components: None
messages: 137167
nosy: py.user
priority: normal
severity: normal
status: open
title: str.upper converts to title
type: behavior
versions: Python 3.1

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12204>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to