diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/ext/embedding.tex | 2 | ||||
-rw-r--r-- | Doc/lib/libarray.tex | 6 | ||||
-rw-r--r-- | Doc/lib/libsys.tex | 2 | ||||
-rw-r--r-- | Doc/lib/libtarfile.tex | 2 | ||||
-rw-r--r-- | Doc/lib/tkinter.tex | 2 | ||||
-rw-r--r-- | Doc/templates/manual.tex | 2 | ||||
-rw-r--r-- | 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 686004c..58ec5ca 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 e168e54..897310d 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 a3971b6..1481db1 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 a942bb4..f7800de 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 d0400c6..cdc9b39 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 d75187c..19dec8b 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 18f8e5b..45315cb 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} |