From 2733caa5ed28ad7cc1cee9f4995ab4366825dcec Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Fri, 21 Oct 2011 21:57:36 +0300 Subject: #12753: Add support for Unicode name aliases and named sequences. --- Doc/library/unicodedata.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Doc/library/unicodedata.rst') diff --git a/Doc/library/unicodedata.rst b/Doc/library/unicodedata.rst index bcb3da3114..d0783a253d 100644 --- a/Doc/library/unicodedata.rst +++ b/Doc/library/unicodedata.rst @@ -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.0.0/ucd/NameAliases.txt + +.. [#] http://www.unicode.org/Public/6.0.0/ucd/NamedSequences.txt -- cgit v1.2.1 From 9a40c9b86163f9b063d824cb3b10eb56d3f6d965 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 20 Feb 2012 22:34:50 -0500 Subject: adjust docs for unicode 6.1 --- Doc/library/unicodedata.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Doc/library/unicodedata.rst') diff --git a/Doc/library/unicodedata.rst b/Doc/library/unicodedata.rst index f912fe86b2..b735a69aea 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 -`_. +this database is compiled from the `UCD version 6.1.0 +`_. The module uses the same names and symbols as defined by Unicode Standard Annex #44, `"Unicode Character Database" @@ -166,6 +166,6 @@ Examples: .. rubric:: Footnotes -.. [#] http://www.unicode.org/Public/6.0.0/ucd/NameAliases.txt +.. [#] http://www.unicode.org/Public/6.1.0/ucd/NameAliases.txt -.. [#] http://www.unicode.org/Public/6.0.0/ucd/NamedSequences.txt +.. [#] http://www.unicode.org/Public/6.1.0/ucd/NamedSequences.txt -- cgit v1.2.1