Patch #1026384: fix two common typo's:

- accomodate -> accommodate
- occured -> occurred

Thanks George Yoshida!
This commit is contained in:
Johannes Gijsbers 2004-09-11 16:50:06 +00:00
parent 7a8c43ee6a
commit d345225ae5
7 changed files with 9 additions and 9 deletions

View 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.

View 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}{}

View 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.

View 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}

View 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

View 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}

View 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}