File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ \section{\module{difflib} ---
5555\begin {classdesc* }{HtmlDiff}
5656
5757 This class can be used to create an HTML table (or a complete HTML file
58- containing the table) showing a side by side, line by line comparision
58+ containing the table) showing a side by side, line by line comparison
5959 of text with inter-line and intra-line change highlights. The table can
6060 be generated in either full or contextual difference mode.
6161
Original file line number Diff line number Diff line change @@ -1092,7 +1092,7 @@ \subsubsection{Mutable Sequence Types \label{typesseq-mutable}}
10921092 the sorted or reversed list.
10931093
10941094\item [(8)] The \method {sort()} method takes optional arguments for
1095- controlling the comparisions .
1095+ controlling the comparisons .
10961096
10971097 \var {cmp} specifies a custom comparison function of two arguments
10981098 (list items) which should return a negative, zero or positive number
Original file line number Diff line number Diff line change @@ -1603,7 +1603,7 @@ class HtmlDiff(object):
16031603 """For producing HTML side by side comparison with change highlights.
16041604
16051605 This class can be used to create an HTML table (or a complete HTML file
1606- containing the table) showing a side by side, line by line comparision
1606+ containing the table) showing a side by side, line by line comparison
16071607 of text with inter-line and intra-line change highlights. The table can
16081608 be generated in either full or contextual difference mode.
16091609
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ is not negated object identity (2)
248248Notes :
249249 Comparison behavior can be overridden for a given class by defining special
250250method __cmp__.
251- The above comparisions return True or False which are of type bool
251+ The above comparisons return True or False which are of type bool
252252(a subclass of int) and behave exactly as 1 or 0 except for their type and
253253that they print as True or False instead of 1 or 0.
254254 (1) X < Y < Z < W has expected meaning, unlike C
Original file line number Diff line number Diff line change @@ -1759,7 +1759,7 @@ merge_compute_minrun(int n)
17591759}
17601760
17611761/* Special wrapper to support stable sorting using the decorate-sort-undecorate
1762- pattern. Holds a key which is used for comparisions and the original record
1762+ pattern. Holds a key which is used for comparisons and the original record
17631763 which is returned during the undecorate phase. By exposing only the key
17641764 during comparisons, the underlying sort stability characteristics are left
17651765 unchanged. Also, if a custom comparison function is used, it will only see
You can’t perform that action at this time.
0 commit comments