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 /Objects | |
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 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index b61f058..45d56f7 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -207,7 +207,8 @@ static unsigned char ascii_linebreak[] = { 0, 0, 0, 0, 0, 0, 0, 0 }; - +/* The max unicode value is always 0x10FFFF while using the PEP-393 API. + This function is kept for backward compatibility with the old API. */ Py_UNICODE PyUnicode_GetMax(void) { |