From: Fred Drake Date: Fri, 2 Jan 1998 02:50:13 +0000 (+0000) Subject: In description of the group() method, fix markup of "\(" and "\)" literals; X-Git-Tag: v1.5.1~1036 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=875c807c9243aed464e4150f7eac0ea0ffd4bec2;p=thirdparty%2FPython%2Fcpython.git In description of the group() method, fix markup of "\(" and "\)" literals; "\code{\\(}" produces "(" in the .dvi file and "
(" in the latex2html output (the font was right). Changed to "\code{{\e}(}" variation, which fixes both. Breaks the .texi file generation again. Oh well. --- diff --git a/Doc/lib/libregex.tex b/Doc/lib/libregex.tex index 2f8fbd85c64e..dd82ff425b4e 100644 --- a/Doc/lib/libregex.tex +++ b/Doc/lib/libregex.tex @@ -305,7 +305,7 @@ result is a tuple with one item per argument. If the \var{index} is zero, the corresponding return value is the entire matching string; if it is in the inclusive range [1..99], it is the string matching the the corresponding parenthesized group (using the default syntax, -groups are parenthesized using \code{\\(} and \code{\\)}). If no +groups are parenthesized using \code{{\e}(} and \code{{\e})}). If no such group exists, the corresponding result is \code{None}. If the regular expression was compiled by \code{symcomp} instead of diff --git a/Doc/libregex.tex b/Doc/libregex.tex index 2f8fbd85c64e..dd82ff425b4e 100644 --- a/Doc/libregex.tex +++ b/Doc/libregex.tex @@ -305,7 +305,7 @@ result is a tuple with one item per argument. If the \var{index} is zero, the corresponding return value is the entire matching string; if it is in the inclusive range [1..99], it is the string matching the the corresponding parenthesized group (using the default syntax, -groups are parenthesized using \code{\\(} and \code{\\)}). If no +groups are parenthesized using \code{{\e}(} and \code{{\e})}). If no such group exists, the corresponding result is \code{None}. If the regular expression was compiled by \code{symcomp} instead of