]> granicus.if.org Git - python/commitdiff
Patch #1026384: fix two common typo's:
authorJohannes Gijsbers <jlg@dds.nl>
Sat, 11 Sep 2004 16:50:06 +0000 (16:50 +0000)
committerJohannes Gijsbers <jlg@dds.nl>
Sat, 11 Sep 2004 16:50:06 +0000 (16:50 +0000)
- accomodate -> accommodate
- occured -> occurred

Thanks George Yoshida!

Doc/ext/embedding.tex
Doc/lib/libarray.tex
Doc/lib/libsys.tex
Doc/lib/libtarfile.tex
Doc/lib/tkinter.tex
Doc/templates/manual.tex
Doc/whatsnew/whatsnew24.tex

index 686004c2e40c966fbbd05720ce8c7f8f1adfe4b1..58ec5cab4ff07444efa23b4dcb01640969744e40 100644 (file)
@@ -113,7 +113,7 @@ When embedding Python, the interface code does:
 \end{enumerate}
 
 As you can see, the data conversion steps are simply swapped to
-accomodate the different direction of the cross-language transfer.
+accommodate the different direction of the cross-language transfer.
 The only difference is the routine that you call between both
 data conversions. When extending, you call a C routine, when
 embedding, you call a Python routine.
index e168e54256ca027b6a01ca04056f71e11be1b4c7..897310df99fe977deb1bc5926e9061ce7513ca04 100644 (file)
@@ -105,7 +105,7 @@ data from a file written on a machine with a different byte order.
 \end{methoddesc}
 
 \begin{methoddesc}[array]{count}{x}
-Return the number of occurences of \var{x} in the array.
+Return the number of occurrences of \var{x} in the array.
 \end{methoddesc}
 
 \begin{methoddesc}[array]{extend}{iterable}
@@ -147,7 +147,7 @@ append Unicode data to an array of some other type.
 
 \begin{methoddesc}[array]{index}{x}
 Return the smallest \var{i} such that \var{i} is the index of
-the first occurence of \var{x} in the array.
+the first occurrence of \var{x} in the array.
 \end{methoddesc}
 
 \begin{methoddesc}[array]{insert}{i, x}
@@ -174,7 +174,7 @@ do.
 \end{methoddesc}
 
 \begin{methoddesc}[array]{remove}{x}
-Remove the first occurence of \var{x} from the array.
+Remove the first occurrence of \var{x} from the array.
 \end{methoddesc}
 
 \begin{methoddesc}[array]{reverse}{}
index a3971b67399a563f84a782b297de9c664dc08bf1..1481db1cdc1d813af040338124efa7f38a022f02 100644 (file)
@@ -122,7 +122,7 @@ It is always available.
 
 \begin{funcdesc}{exc_clear}{}
   This function clears all information relating to the current or last
-  exception that occured in the current thread.  After calling this
+  exception that occurred in the current thread.  After calling this
   function, \function{exc_info()} will return three \code{None} values until
   another exception is raised in the current thread or the execution stack
   returns to a frame where another exception is being handled.
index a942bb410737eb3b2b101db116b29eda94394636..f7800ded2dc43b65187be7e64a94c320759370b7 100644 (file)
@@ -170,7 +170,7 @@ tar archive several times. Each archive member is represented by a
     not be found in the archive, \exception{KeyError} is raised.
     \begin{notice}
         If a member occurs more than once in the archive, its last
-        occurence is assumed to be the most up-to-date version.
+        occurrence is assumed to be the most up-to-date version.
     \end{notice}
 \end{methoddesc}
 
index d0400c677d00b7ddb2f403980137f68304ac682b..cdc9b399f3132d8628deb5c7827fc9f8365c93b5 100644 (file)
@@ -535,7 +535,7 @@ the "slave widgets" inside.  The packer is used to control where slave
 widgets appear inside the master into which they are packed.  You can
 pack widgets into frames, and frames into other frames, in order to
 achieve the kind of layout you desire.  Additionally, the arrangement
-is dynamically adjusted to accomodate incremental changes to the
+is dynamically adjusted to accommodate incremental changes to the
 configuration, once it is packed.
 
 Note that widgets do not appear until they have had their geometry
index d75187c7bcbb1ffefaf0699b9f2b8a0e6e03b927..19dec8bf66983fad163cbcbf8c4277c4d544fd91 100644 (file)
@@ -47,7 +47,7 @@
 
 \noindent
 Big Python is a special version of Python for users who require larger 
-keys on their keyboards.  It accomodates their special needs by ...
+keys on their keyboards.  It accommodates their special needs by ...
 
 \end{abstract}
 
index 18f8e5b42bb285a4c2774795923e877ce716c582..45315cb815644b9d5aa3f2b027ccc7787e2715da 100644 (file)
@@ -1098,7 +1098,7 @@ r ['r', 'r']
 >>> # List unique letters
 >>> [k for k, g in groupby(letters)]                     
 ['a', 'b', 'c', 'd', 'r']
->>> # Count letter occurences
+>>> # Count letter occurrences
 >>> [(k, len(list(g))) for k, g in groupby(letters)]     
 [('a', 5), ('b', 2), ('c', 1), ('d', 1), ('r', 2)]
 \end{verbatim}