]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Feeble attempt to repair obsolete info about hex escapes.
authorTim Peters <tim.peters@gmail.com>
Wed, 14 Feb 2001 04:03:51 +0000 (04:03 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 14 Feb 2001 04:03:51 +0000 (04:03 +0000)
Doc/ref/ref2.tex

index d1503b42604ccca27af718818db67393a7b44c66..3a8bba2de5849211ff36673b57af8d00613b48d0 100644 (file)
@@ -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,