From: Fred Drake Date: Thu, 1 Apr 2004 16:38:44 +0000 (+0000) Subject: remove workarounds to prevent "--" in code from being improperly munged to X-Git-Tag: v2.3.4c1~76 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5c51de0d623b4c2e4358976e4e6b3fe13162b186;p=thirdparty%2FPython%2Fcpython.git remove workarounds to prevent "--" in code from being improperly munged to single hyphens in the HTML output; this is no longer needed now that ../perl/python.perl makes things just work --- diff --git a/Doc/lib/libsgmllib.tex b/Doc/lib/libsgmllib.tex index bf01a7d2a41d..a874cb3a15a2 100644 --- a/Doc/lib/libsgmllib.tex +++ b/Doc/lib/libsgmllib.tex @@ -33,9 +33,9 @@ Numeric character references of the form \samp{\&\#\var{name};}. Entity references of the form \samp{\&\var{name};}. \item -SGML comments of the form \samp{}. Note that +SGML comments of the form \samp{}. Note that spaces, tabs, and newlines are allowed between the trailing -\samp{>} and the immediately preceding \samp{-\code{-}}. +\samp{>} and the immediately preceding \samp{--}. \end{itemize} \end{classdesc} @@ -140,8 +140,8 @@ The default \member{entitydefs} defines translations for \begin{methoddesc}{handle_comment}{comment} This method is called when a comment is encountered. The \var{comment} argument is a string containing the text between the -\samp{} delimiters, but not the delimiters -themselves. For example, the comment \samp{} will +\samp{} delimiters, but not the delimiters +themselves. For example, the comment \samp{} will cause this method to be called with the argument \code{'text'}. The default method does nothing. \end{methoddesc} diff --git a/Doc/lib/libxmllib.tex b/Doc/lib/libxmllib.tex index dbc4b66c607c..f7197cade04b 100644 --- a/Doc/lib/libxmllib.tex +++ b/Doc/lib/libxmllib.tex @@ -166,8 +166,8 @@ references outside of the \ASCII{} range. \begin{methoddesc}{handle_comment}{comment} This method is called when a comment is encountered. The \var{comment} argument is a string containing the text between the -\samp{} delimiters, but not the delimiters -themselves. For example, the comment \samp{} will +\samp{} delimiters, but not the delimiters +themselves. For example, the comment \samp{} will cause this method to be called with the argument \code{'text'}. The default method does nothing. \end{methoddesc}