diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-12-14 20:13:39 +0200 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-12-14 20:13:39 +0200 |
commit | 3eab56987c48344d6626b69fd809e1586d61b719 (patch) | |
tree | a6ab9f0e2cbdc648b292d17b1f097039f4d9c102 /Doc/library/unicodedata.rst | |
parent | 108f7ef617406a11cbf987007f0260f18d37a40a (diff) | |
parent | 97ed28f0985683390be4ea86e1fa01ded50d3574 (diff) | |
download | cpython-3eab56987c48344d6626b69fd809e1586d61b719.tar.gz |
#16681: merge with 3.2.
Diffstat (limited to 'Doc/library/unicodedata.rst')
-rw-r--r-- | Doc/library/unicodedata.rst | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Doc/library/unicodedata.rst b/Doc/library/unicodedata.rst index 33b5ce0eaa..ad70dd9dd1 100644 --- a/Doc/library/unicodedata.rst +++ b/Doc/library/unicodedata.rst @@ -15,8 +15,8 @@ This module provides access to the Unicode Character Database (UCD) which defines character properties for all Unicode characters. The data contained in -this database is compiled from the `UCD version 6.0.0 -<http://www.unicode.org/Public/6.0.0/ucd>`_. +this database is compiled from the `UCD version 6.1.0 +<http://www.unicode.org/Public/6.1.0/ucd>`_. The module uses the same names and symbols as defined by Unicode Standard Annex #44, `"Unicode Character Database" @@ -29,6 +29,9 @@ following functions: Look up character by name. If a character with the given name is found, return the corresponding character. If not found, :exc:`KeyError` is raised. + .. versionchanged:: 3.3 + Support for name aliases [#]_ and named sequences [#]_ has been added. + .. function:: name(chr[, default]) @@ -160,3 +163,9 @@ Examples: >>> unicodedata.bidirectional('\u0660') # 'A'rabic, 'N'umber 'AN' + +.. rubric:: Footnotes + +.. [#] http://www.unicode.org/Public/6.1.0/ucd/NameAliases.txt + +.. [#] http://www.unicode.org/Public/6.1.0/ucd/NamedSequences.txt |