Commit 55be9eab authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Typo fix: 'comparisions' is not a word

parent 2cc0c300
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
\begin{classdesc*}{HtmlDiff} \begin{classdesc*}{HtmlDiff}
This class can be used to create an HTML table (or a complete HTML file This class can be used to create an HTML table (or a complete HTML file
containing the table) showing a side by side, line by line comparision containing the table) showing a side by side, line by line comparison
of text with inter-line and intra-line change highlights. The table can of text with inter-line and intra-line change highlights. The table can
be generated in either full or contextual difference mode. be generated in either full or contextual difference mode.
......
...@@ -1092,7 +1092,7 @@ Notes: ...@@ -1092,7 +1092,7 @@ Notes:
the sorted or reversed list. the sorted or reversed list.
\item[(8)] The \method{sort()} method takes optional arguments for \item[(8)] The \method{sort()} method takes optional arguments for
controlling the comparisions. controlling the comparisons.
\var{cmp} specifies a custom comparison function of two arguments \var{cmp} specifies a custom comparison function of two arguments
(list items) which should return a negative, zero or positive number (list items) which should return a negative, zero or positive number
......
...@@ -1603,7 +1603,7 @@ class HtmlDiff(object): ...@@ -1603,7 +1603,7 @@ class HtmlDiff(object):
"""For producing HTML side by side comparison with change highlights. """For producing HTML side by side comparison with change highlights.
This class can be used to create an HTML table (or a complete HTML file This class can be used to create an HTML table (or a complete HTML file
containing the table) showing a side by side, line by line comparision containing the table) showing a side by side, line by line comparison
of text with inter-line and intra-line change highlights. The table can of text with inter-line and intra-line change highlights. The table can
be generated in either full or contextual difference mode. be generated in either full or contextual difference mode.
......
...@@ -248,7 +248,7 @@ is not negated object identity (2) ...@@ -248,7 +248,7 @@ is not negated object identity (2)
Notes : Notes :
Comparison behavior can be overridden for a given class by defining special Comparison behavior can be overridden for a given class by defining special
method __cmp__. method __cmp__.
The above comparisions return True or False which are of type bool The above comparisons return True or False which are of type bool
(a subclass of int) and behave exactly as 1 or 0 except for their type and (a subclass of int) and behave exactly as 1 or 0 except for their type and
that they print as True or False instead of 1 or 0. that they print as True or False instead of 1 or 0.
(1) X < Y < Z < W has expected meaning, unlike C (1) X < Y < Z < W has expected meaning, unlike C
......
...@@ -1759,7 +1759,7 @@ merge_compute_minrun(int n) ...@@ -1759,7 +1759,7 @@ merge_compute_minrun(int n)
} }
/* Special wrapper to support stable sorting using the decorate-sort-undecorate /* Special wrapper to support stable sorting using the decorate-sort-undecorate
pattern. Holds a key which is used for comparisions and the original record pattern. Holds a key which is used for comparisons and the original record
which is returned during the undecorate phase. By exposing only the key which is returned during the undecorate phase. By exposing only the key
during comparisons, the underlying sort stability characteristics are left during comparisons, the underlying sort stability characteristics are left
unchanged. Also, if a custom comparison function is used, it will only see unchanged. Also, if a custom comparison function is used, it will only see
......
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