diff options
author | Benjamin Peterson <benjamin@python.org> | 2017-06-23 05:31:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-23 05:31:08 (GMT) |
commit | 279a96206f3118a482d10826a1e32b272db4505d (patch) | |
tree | dc542b2e2764d146093fdcf1fb5590c1e190d553 /Doc | |
parent | b066edfb1b268e90ea11f45dd1827f46d7ceec88 (diff) | |
download | cpython-279a96206f3118a482d10826a1e32b272db4505d.zip cpython-279a96206f3118a482d10826a1e32b272db4505d.tar.gz cpython-279a96206f3118a482d10826a1e32b272db4505d.tar.bz2 |
bpo-30736: upgrade to Unicode 10.0 (#2344)
Straightforward. While we're at it, though, strip trailing whitespace from generated tables.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/stdtypes.rst | 2 | ||||
-rw-r--r-- | Doc/library/unicodedata.rst | 8 | ||||
-rw-r--r-- | Doc/reference/lexical_analysis.rst | 4 | ||||
-rw-r--r-- | Doc/whatsnew/3.7.rst | 7 |
4 files changed, 14 insertions, 7 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 24762b1..e0691c7 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -354,7 +354,7 @@ Notes: The numeric literals accepted include the digits ``0`` to ``9`` or any Unicode equivalent (code points with the ``Nd`` property). - See http://www.unicode.org/Public/8.0.0/ucd/extracted/DerivedNumericType.txt + See http://www.unicode.org/Public/10.0.0/ucd/extracted/DerivedNumericType.txt for a complete list of code points with the ``Nd`` property. diff --git a/Doc/library/unicodedata.rst b/Doc/library/unicodedata.rst index 2a97776..7a5a1f8 100644 --- a/Doc/library/unicodedata.rst +++ b/Doc/library/unicodedata.rst @@ -17,8 +17,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 9.0.0 -<http://www.unicode.org/Public/9.0.0/ucd>`_. +this database is compiled from the `UCD version 10.0.0 +<http://www.unicode.org/Public/10.0.0/ucd>`_. The module uses the same names and symbols as defined by Unicode Standard Annex #44, `"Unicode Character Database" @@ -168,6 +168,6 @@ Examples: .. rubric:: Footnotes -.. [#] http://www.unicode.org/Public/9.0.0/ucd/NameAliases.txt +.. [#] http://www.unicode.org/Public/10.0.0/ucd/NameAliases.txt -.. [#] http://www.unicode.org/Public/9.0.0/ucd/NamedSequences.txt +.. [#] http://www.unicode.org/Public/10.0.0/ucd/NamedSequences.txt diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst index 7f9c664..1a7c6f9 100644 --- a/Doc/reference/lexical_analysis.rst +++ b/Doc/reference/lexical_analysis.rst @@ -313,7 +313,7 @@ The Unicode category codes mentioned above stand for: * *Nd* - decimal numbers * *Pc* - connector punctuations * *Other_ID_Start* - explicit list of characters in `PropList.txt - <http://www.unicode.org/Public/8.0.0/ucd/PropList.txt>`_ to support backwards + <http://www.unicode.org/Public/10.0.0/ucd/PropList.txt>`_ to support backwards compatibility * *Other_ID_Continue* - likewise @@ -875,4 +875,4 @@ occurrence outside string literals and comments is an unconditional error: .. rubric:: Footnotes -.. [#] http://www.unicode.org/Public/8.0.0/ucd/NameAliases.txt +.. [#] http://www.unicode.org/Public/10.0.0/ucd/NameAliases.txt diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst index 51b6b01..8c1636b 100644 --- a/Doc/whatsnew/3.7.rst +++ b/Doc/whatsnew/3.7.rst @@ -237,6 +237,13 @@ xmlrpc.server its subclasses can be used as a decorator. (Contributed by Xiang Zhang in :issue:`7769`.) +unicodedata +----------- + +The internal :mod:`unicodedata` database has been upgraded to use `Unicode 10 +<http://www.unicode.org/versions/Unicode10.0.0/>`_. (Contributed by Benjamin +Peterson.) + urllib.parse ------------ |