Kaydet (Commit) 758f5ea4 authored tarafından Fred Drake's avatar Fred Drake

Replace last two uses of the "list" environment with "description"

environments.

Closes SF bug #692442: Konqueror can't render docs because of
malformed HTML.  While the generated HTML is still terrible, the cited
cases of <DL COMPACT> have been removed.  The general problem of XHTML
conformance has not been solved, but is endemic to LaTeX2HTML output.
üst 52c937dc
...@@ -78,8 +78,8 @@ Special characters either stand for classes of ordinary characters, or ...@@ -78,8 +78,8 @@ Special characters either stand for classes of ordinary characters, or
affect how the regular expressions around them are interpreted. affect how the regular expressions around them are interpreted.
The special characters are: The special characters are:
%
\begin{list}{}{\leftmargin 0.7in \labelwidth 0.65in} \begin{description}
\item[\character{.}] (Dot.) In the default mode, this matches any \item[\character{.}] (Dot.) In the default mode, this matches any
character except a newline. If the \constant{DOTALL} flag has been character except a newline. If the \constant{DOTALL} flag has been
...@@ -306,14 +306,14 @@ pattern, which will match with \code{'<user@host.com>'} as well as ...@@ -306,14 +306,14 @@ pattern, which will match with \code{'<user@host.com>'} as well as
\code{'user@host.com'}, but not with \code{'<user@host.com'}. \code{'user@host.com'}, but not with \code{'<user@host.com'}.
\versionadded{2.4} \versionadded{2.4}
\end{list} \end{description}
The special sequences consist of \character{\e} and a character from the The special sequences consist of \character{\e} and a character from the
list below. If the ordinary character is not on the list, then the list below. If the ordinary character is not on the list, then the
resulting RE will match the second character. For example, resulting RE will match the second character. For example,
\regexp{\e\$} matches the character \character{\$}. \regexp{\e\$} matches the character \character{\$}.
%
\begin{list}{}{\leftmargin 0.7in \labelwidth 0.65in} \begin{description}
\item[\code{\e \var{number}}] Matches the contents of the group of the \item[\code{\e \var{number}}] Matches the contents of the group of the
same number. Groups are numbered starting from 1. For example, same number. Groups are numbered starting from 1. For example,
...@@ -374,7 +374,7 @@ character properties database. ...@@ -374,7 +374,7 @@ character properties database.
\item[\code{\e Z}]Matches only at the end of the string. \item[\code{\e Z}]Matches only at the end of the string.
\end{list} \end{description}
Most of the standard escapes supported by Python string literals are Most of the standard escapes supported by Python string literals are
also accepted by the regular expression parser: also accepted by the regular expression parser:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment