summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-10-05 00:33:31 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-10-05 00:33:31 (GMT)
commite7f90375b175ed9e610a1de3b5c910f9271375ad (patch)
treeaaa4d1c1f7079d7f687407d2373f43f184030531 /Doc
parent1929407406966f9f2093a9e6b421cad39361dbb4 (diff)
downloadcpython-e7f90375b175ed9e610a1de3b5c910f9271375ad.zip
cpython-e7f90375b175ed9e610a1de3b5c910f9271375ad.tar.gz
cpython-e7f90375b175ed9e610a1de3b5c910f9271375ad.tar.bz2
#16127: remove outdated references to narrow builds. Patch by Serhiy Storchaka.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/unicode.rst2
-rw-r--r--Doc/reference/lexical_analysis.rst4
2 files changed, 1 insertions, 5 deletions
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst
index 0f7d2bb..2ac51df 100644
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -1083,8 +1083,6 @@ These are the UTF-32 codec APIs:
After completion, *\*byteorder* is set to the current byte order at the end
of input data.
- In a narrow build codepoints outside the BMP will be decoded as surrogate pairs.
-
If *byteorder* is *NULL*, the codec starts in native order mode.
Return *NULL* if an exception was raised by the codec.
diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst
index bab39f9..94f219b 100644
--- a/Doc/reference/lexical_analysis.rst
+++ b/Doc/reference/lexical_analysis.rst
@@ -538,9 +538,7 @@ Notes:
this escape sequence. Exactly four hex digits are required.
(6)
- Any Unicode character can be encoded this way, but characters outside the Basic
- Multilingual Plane (BMP) will be encoded using a surrogate pair if Python is
- compiled to use 16-bit code units (the default). Exactly eight hex digits
+ Any Unicode character can be encoded this way. Exactly eight hex digits
are required.