diff Python/bltinmodule.c @ 73686:59dcb6249034

Remove "#ifdef Py_UNICODE_WIDE": Python is now always wide
author Victor Stinner <victor.stinner@haypocalc.com>
date Tue, 22 Nov 2011 03:31:20 +0100
parents bbc929bc2224
children f24faf5a6af2
line wrap: on
line diff
--- a/Python/bltinmodule.c	Tue Nov 22 03:27:53 2011 +0100
+++ b/Python/bltinmodule.c	Tue Nov 22 03:31:20 2011 +0100
@@ -518,17 +518,10 @@
     return PyUnicode_FromOrdinal(x);
 }
 
-PyDoc_VAR(chr_doc) = PyDoc_STR(
+PyDoc_STRVAR(chr_doc,
 "chr(i) -> Unicode character\n\
 \n\
-Return a Unicode string of one character with ordinal i; 0 <= i <= 0x10ffff."
-)
-#ifndef Py_UNICODE_WIDE
-PyDoc_STR(
-"\nIf 0x10000 <= i, a surrogate pair is returned."
-)
-#endif
-;
+Return a Unicode string of one character with ordinal i; 0 <= i <= 0x10ffff.");
 
 
 static char *