diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-01-11 23:17:06 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-01-11 23:17:06 (GMT) |
commit | b2bf01d824ea5a13b375d0aa79211c01f8ab726a (patch) | |
tree | c2e840d182aff5a4ae272ca9a80b6a1cf3c1db3d /Include | |
parent | 9007f72db095212a169b3234194fcc08bd14bf6e (diff) | |
download | cpython-b2bf01d824ea5a13b375d0aa79211c01f8ab726a.zip cpython-b2bf01d824ea5a13b375d0aa79211c01f8ab726a.tar.gz cpython-b2bf01d824ea5a13b375d0aa79211c01f8ab726a.tar.bz2 |
use full unicode mappings for upper/lower/title case (#12736)
Also broaden the category of characters that count as lowercase/uppercase.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/unicodeobject.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index 6255dc3..39dfba9 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -2008,6 +2008,29 @@ PyAPI_FUNC(Py_UCS4) _PyUnicode_ToTitlecase( Py_UCS4 ch /* Unicode character */ ); +PyAPI_FUNC(int) _PyUnicode_ToLowerFull( + Py_UCS4 ch, /* Unicode character */ + Py_UCS4 *res + ); + +PyAPI_FUNC(int) _PyUnicode_ToTitleFull( + Py_UCS4 ch, /* Unicode character */ + Py_UCS4 *res + ); + +PyAPI_FUNC(int) _PyUnicode_ToUpperFull( + Py_UCS4 ch, /* Unicode character */ + Py_UCS4 *res + ); + +PyAPI_FUNC(int) _PyUnicode_IsCaseIgnorable( + const Py_UCS4 ch /* Unicode character */ + ); + +PyAPI_FUNC(int) _PyUnicode_IsCased( + const Py_UCS4 ch /* Unicode character */ + ); + PyAPI_FUNC(int) _PyUnicode_ToDecimalDigit( Py_UCS4 ch /* Unicode character */ ); |