Mercurial > cpython-lru_cache-weakref
diff Objects/unicodeobject.c @ 59946:f20e8b91f6e8 3.1
Merged revisions 76197 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76197 | benjamin.peterson | 2009-11-10 22:23:15 +0100 (mar., 10 nov. 2009) | 1 line
death to compiler warning
........
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Tue, 23 Mar 2010 11:43:20 +0000 |
| parents | 84405c22e4c7 |
| children | 149badf73bca |
line wrap: on
line diff
--- a/Objects/unicodeobject.c Tue Mar 23 09:05:31 2010 +0000 +++ b/Objects/unicodeobject.c Tue Mar 23 11:43:20 2010 +0000 @@ -2513,7 +2513,9 @@ *p++ = (char)(0x80 | (ch & 0x3f)); continue; } +#ifndef Py_UNICODE_WIDE encodeUCS4: +#endif /* Encode UCS4 Unicode ordinals */ *p++ = (char)(0xf0 | (ch >> 18)); *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
