summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-02-14 04:03:51 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-02-14 04:03:51 (GMT)
commit7530208d8b1a20a0c1a94eeec451beae6a6ba80c (patch)
tree6a093821dd79a428b5835fb15b6d9d63e4b4a3ad
parent162c6a637a6a1389b6802a99cbe2781435990d47 (diff)
downloadcpython-7530208d8b1a20a0c1a94eeec451beae6a6ba80c.zip
cpython-7530208d8b1a20a0c1a94eeec451beae6a6ba80c.tar.gz
cpython-7530208d8b1a20a0c1a94eeec451beae6a6ba80c.tar.bz2
Feeble attempt to repair obsolete info about hex escapes.
-rw-r--r--Doc/ref/ref2.tex6
1 files changed, 2 insertions, 4 deletions
diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex
index d1503b4..3a8bba2 100644
--- a/Doc/ref/ref2.tex
+++ b/Doc/ref/ref2.tex
@@ -358,10 +358,8 @@ to those used by Standard \C{}. The recognized escape sequences are:
\end{tableii}
\index{ASCII@\ASCII{}}
-In strict compatibility with Standard C, up to three octal digits are
-accepted, but an unlimited number of hex digits is taken to be part of
-the hex escape (and then the lower 8 bits of the resulting hex number
-are used in 8-bit implementations).
+As in Standard C, up to three octal digits are accepted. However,
+exactly two hex digits are taken in hex escapes.
Unlike Standard \index{unrecognized escape sequence}C,
all unrecognized escape sequences are left in the string unchanged,