From d345225ae51874b036662e4d1ed0f3f25257661e Mon Sep 17 00:00:00 2001 From: Johannes Gijsbers Date: Sat, 11 Sep 2004 16:50:06 +0000 Subject: [PATCH] Patch #1026384: fix two common typo's: - accomodate -> accommodate - occured -> occurred Thanks George Yoshida! --- Doc/ext/embedding.tex | 2 +- Doc/lib/libarray.tex | 6 +++--- Doc/lib/libsys.tex | 2 +- Doc/lib/libtarfile.tex | 2 +- Doc/lib/tkinter.tex | 2 +- Doc/templates/manual.tex | 2 +- Doc/whatsnew/whatsnew24.tex | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Doc/ext/embedding.tex b/Doc/ext/embedding.tex index 686004c2e40..58ec5cab4ff 100644 --- a/Doc/ext/embedding.tex +++ b/Doc/ext/embedding.tex @@ -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. diff --git a/Doc/lib/libarray.tex b/Doc/lib/libarray.tex index e168e54256c..897310df99f 100644 --- a/Doc/lib/libarray.tex +++ b/Doc/lib/libarray.tex @@ -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}{} diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex index a3971b67399..1481db1cdc1 100644 --- a/Doc/lib/libsys.tex +++ b/Doc/lib/libsys.tex @@ -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. diff --git a/Doc/lib/libtarfile.tex b/Doc/lib/libtarfile.tex index a942bb41073..f7800ded2dc 100644 --- a/Doc/lib/libtarfile.tex +++ b/Doc/lib/libtarfile.tex @@ -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} diff --git a/Doc/lib/tkinter.tex b/Doc/lib/tkinter.tex index d0400c677d0..cdc9b399f31 100644 --- a/Doc/lib/tkinter.tex +++ b/Doc/lib/tkinter.tex @@ -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 diff --git a/Doc/templates/manual.tex b/Doc/templates/manual.tex index d75187c7bcb..19dec8bf669 100644 --- a/Doc/templates/manual.tex +++ b/Doc/templates/manual.tex @@ -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} diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex index 18f8e5b42bb..45315cb8156 100644 --- a/Doc/whatsnew/whatsnew24.tex +++ b/Doc/whatsnew/whatsnew24.tex @@ -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}