Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d345225

Browse files
author
Johannes Gijsbers
committed
Patch #1026384: fix two common typo's:
- accomodate -> accommodate - occured -> occurred Thanks George Yoshida!
1 parent 7a8c43e commit d345225

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

Doc/ext/embedding.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ \section{Beyond Very High Level Embedding: An overview
113113
\end{enumerate}
114114

115115
As you can see, the data conversion steps are simply swapped to
116-
accomodate the different direction of the cross-language transfer.
116+
accommodate the different direction of the cross-language transfer.
117117
The only difference is the routine that you call between both
118118
data conversions. When extending, you call a C routine, when
119119
embedding, you call a Python routine.

Doc/lib/libarray.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ \section{\module{array} ---
105105
\end{methoddesc}
106106

107107
\begin{methoddesc}[array]{count}{x}
108-
Return the number of occurences of \var{x} in the array.
108+
Return the number of occurrences of \var{x} in the array.
109109
\end{methoddesc}
110110

111111
\begin{methoddesc}[array]{extend}{iterable}
@@ -147,7 +147,7 @@ \section{\module{array} ---
147147

148148
\begin{methoddesc}[array]{index}{x}
149149
Return the smallest \var{i} such that \var{i} is the index of
150-
the first occurence of \var{x} in the array.
150+
the first occurrence of \var{x} in the array.
151151
\end{methoddesc}
152152

153153
\begin{methoddesc}[array]{insert}{i, x}
@@ -174,7 +174,7 @@ \section{\module{array} ---
174174
\end{methoddesc}
175175

176176
\begin{methoddesc}[array]{remove}{x}
177-
Remove the first occurence of \var{x} from the array.
177+
Remove the first occurrence of \var{x} from the array.
178178
\end{methoddesc}
179179

180180
\begin{methoddesc}[array]{reverse}{}

Doc/lib/libsys.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ \section{\module{sys} ---
122122

123123
\begin{funcdesc}{exc_clear}{}
124124
This function clears all information relating to the current or last
125-
exception that occured in the current thread. After calling this
125+
exception that occurred in the current thread. After calling this
126126
function, \function{exc_info()} will return three \code{None} values until
127127
another exception is raised in the current thread or the execution stack
128128
returns to a frame where another exception is being handled.

Doc/lib/libtarfile.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ \subsection{TarFile Objects \label{tarfile-objects}}
170170
not be found in the archive, \exception{KeyError} is raised.
171171
\begin{notice}
172172
If a member occurs more than once in the archive, its last
173-
occurence is assumed to be the most up-to-date version.
173+
occurrence is assumed to be the most up-to-date version.
174174
\end{notice}
175175
\end{methoddesc}
176176

Doc/lib/tkinter.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ \subsubsection{The Packer} % Packer.html
535535
widgets appear inside the master into which they are packed. You can
536536
pack widgets into frames, and frames into other frames, in order to
537537
achieve the kind of layout you desire. Additionally, the arrangement
538-
is dynamically adjusted to accomodate incremental changes to the
538+
is dynamically adjusted to accommodate incremental changes to the
539539
configuration, once it is packed.
540540

541541
Note that widgets do not appear until they have had their geometry

Doc/templates/manual.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ \chapter*{Front Matter\label{front}}
4747

4848
\noindent
4949
Big Python is a special version of Python for users who require larger
50-
keys on their keyboards. It accomodates their special needs by ...
50+
keys on their keyboards. It accommodates their special needs by ...
5151

5252
\end{abstract}
5353

Doc/whatsnew/whatsnew24.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ \section{New, Improved, and Deprecated Modules}
10981098
>>> # List unique letters
10991099
>>> [k for k, g in groupby(letters)]
11001100
['a', 'b', 'c', 'd', 'r']
1101-
>>> # Count letter occurences
1101+
>>> # Count letter occurrences
11021102
>>> [(k, len(list(g))) for k, g in groupby(letters)]
11031103
[('a', 5), ('b', 2), ('c', 1), ('d', 1), ('r', 2)]
11041104
\end{verbatim}

0 commit comments

Comments
 (0)