diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-09-28 21:18:19 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-09-28 21:18:19 (GMT) |
commit | 48a2f8fd972205688a1011348100bdb482c81836 (patch) | |
tree | 09f86d9cdf88c75688bc836c78e54ea88d365371 /Doc/library/sys.rst | |
parent | 506f5927691e0088adc7ac6e6d7b43ad78f1576b (diff) | |
download | cpython-48a2f8fd972205688a1011348100bdb482c81836.zip cpython-48a2f8fd972205688a1011348100bdb482c81836.tar.gz cpython-48a2f8fd972205688a1011348100bdb482c81836.tar.bz2 |
#13054: sys.maxunicode is now always 0x10FFFF.
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r-- | Doc/library/sys.rst | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index acdde6d..43f65e2 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -625,9 +625,13 @@ always available. .. data:: maxunicode - An integer giving the largest supported code point for a Unicode character. The - value of this depends on the configuration option that specifies whether Unicode - characters are stored as UCS-2 or UCS-4. + An integer giving the value of the largest Unicode code point, + i.e. ``1114111`` (``0x10FFFF`` in hexadecimal). + + .. versionchanged:: 3.3 + Before :pep:`393`, :data:`sys.maxunicode` used to return either ``0xFFFF`` + or ``0x10FFFF``, depending on the configuration option that specified + whether Unicode characters were stored as UCS-2 or UCS-4. .. data:: meta_path |