Commit bb2d4a83 authored by Jeremy Hylton's avatar Jeremy Hylton

Backslash normalization.

parent 4e054661
...@@ -170,7 +170,7 @@ Total ordering means three things: ...@@ -170,7 +170,7 @@ Total ordering means three things:
\item Transitivity. Whenever \code{\var{x} <= \var{y}} and \item Transitivity. Whenever \code{\var{x} <= \var{y}} and
\code{\var{y} <= \var{z}}, it's also true that \code{\var{y} <= \var{z}}, it's also true that
\code{\var{x} <= \var{z}}. \code{\var{x} <= \var{z}}.
end{enumerate} \end{enumerate}
The default comparison functions for most objects that come with Python The default comparison functions for most objects that come with Python
satisfy these rules, with some crucial cautions explained later. Complex satisfy these rules, with some crucial cautions explained later. Complex
...@@ -268,7 +268,7 @@ results within a single program run). ...@@ -268,7 +268,7 @@ results within a single program run).
Another problem occurs with instances of classes that do define Another problem occurs with instances of classes that do define
\method{__cmp__()}, but define it incorrectly. It's possible but \method{__cmp__()}, but define it incorrectly. It's possible but
rare for a custom \method\{__cmp__()} implementation to violate one rare for a custom \method{__cmp__()} implementation to violate one
of the three required formal properties directly. It's more common for of the three required formal properties directly. It's more common for
it to fall back" to address-based comparison by mistake. it to fall back" to address-based comparison by mistake.
For example, For example,
...@@ -313,4 +313,4 @@ only with great care: ...@@ -313,4 +313,4 @@ only with great care:
Any part of a comparison implementation that relies (explicitly Any part of a comparison implementation that relies (explicitly
or implicitly) on an address-based comparison result will or implicitly) on an address-based comparison result will
eventually cause serious failure. eventually cause serious failure.
end{enumerate} \end{enumerate}
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