#13054: sys.maxunicode is now always 0x10FFFF.

This commit is contained in:
Ezio Melotti 2011-09-29 00:18:19 +03:00
parent 506f592769
commit 48a2f8fd97
5 changed files with 23 additions and 6 deletions

View file

@ -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)
{