From: Tim Peters Date: Wed, 14 Feb 2001 04:03:51 +0000 (+0000) Subject: Feeble attempt to repair obsolete info about hex escapes. X-Git-Tag: v2.1b1~377 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7530208d8b1a20a0c1a94eeec451beae6a6ba80c;p=thirdparty%2FPython%2Fcpython.git Feeble attempt to repair obsolete info about hex escapes. --- diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex index d1503b42604c..3a8bba2de584 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,