]> granicus.if.org Git - python/commitdiff
Typo fix: 'comparisions' is not a word
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 10 Sep 2004 12:59:54 +0000 (12:59 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 10 Sep 2004 12:59:54 +0000 (12:59 +0000)
Doc/lib/libdifflib.tex
Doc/lib/libstdtypes.tex
Lib/difflib.py
Misc/cheatsheet
Objects/listobject.c

index 4256e877e35ce31a10ad73e282b3bf547e7b1030..c4a3f121269032c1e3bd9927f4f41ac380f441c9 100644 (file)
@@ -55,7 +55,7 @@
 \begin{classdesc*}{HtmlDiff}
 
   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 
   be generated in either full or contextual difference mode.
 
index b531b61cc2bcabf2e884ca2226b86f164f656186..83d3c0352d6f2c33484352f92469a43b2396e8df 100644 (file)
@@ -1092,7 +1092,7 @@ Notes:
   the sorted or reversed list.
 
 \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
      (list items) which should return a negative, zero or positive number
index f855d46a828f1eb734b3bfd5c1035e8c8fcbb6e5..124ae9061adbfd5c4f08c140a517dda99b6f1a51 100644 (file)
@@ -1603,7 +1603,7 @@ class HtmlDiff(object):
     """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
-    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
     be generated in either full or contextual difference mode.
 
index 525772d7c3b7f2890e81ccbb6151fe3fd513e5ad..071f13d3116517eace53306543898c9b33c18ac9 100644 (file)
@@ -248,7 +248,7 @@ is not     negated object identity   (2)
 Notes :
     Comparison behavior can be overridden for a given class by defining special
 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
 that they print as True or False instead of 1 or 0.
     (1) X < Y < Z < W has expected meaning, unlike C
index 89cedc9bfa556b2342ebd7ff7dba8271f48ba50e..996ddb95b1d3d91c043a7326ba2e65d82a912f77 100644 (file)
@@ -1759,7 +1759,7 @@ merge_compute_minrun(int n)
 }
 
 /* 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
    during comparisons, the underlying sort stability characteristics are left
    unchanged.  Also, if a custom comparison function is used, it will only see