diff options
| author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-22 03:31:20 +0100 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-22 03:31:20 +0100 |
| commit | 806c2672ae49f639fd7a8a14a9a8ce67a14e94a6 (patch) | |
| tree | ebbd7fbac0dd7de1718e60f4f23d6e06d5ff9f0d /Python/bltinmodule.c | |
| parent | e9a8da1ace0abf913886f7a52b2bfe3666210310 (diff) | |
| download | cpython-806c2672ae49f639fd7a8a14a9a8ce67a14e94a6.tar.gz | |
Remove "#ifdef Py_UNICODE_WIDE": Python is now always wide
Diffstat (limited to 'Python/bltinmodule.c')
| -rw-r--r-- | Python/bltinmodule.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 871eaa3497..13349cc7bb 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -518,17 +518,10 @@ builtin_chr(PyObject *self, PyObject *args) 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 * |
