time adjustment. Whether a naive \class{datetime} object represents
Coordinated Universal Time (UTC), local time, or time in some other
timezone is purely up to the program, just like it's up to the program
-whether a particular number represents meters, miles, or mass. Naive
+whether a particular number represents metres, miles, or mass. Naive
\class{datetime} objects are easy to understand and to work with, at
the cost of ignoring some aspects of reality.
taken from the specified file. Assignment to an
\constant{ACCESS_READ} memory map raises a \exception{TypeError}
exception. Assignment to an \constant{ACCESS_WRITE} memory map
-affects both memory and the underlying file. Assigment to an
+affects both memory and the underlying file. Assignment to an
\constant{ACCESS_COPY} memory map affects memory but does not update
the underlying file.
\begin{datadesc}{SEEK_SET}
\dataline{SEEK_CUR}
\dataline{SEEK_END}
-Parameteters to the \function{lseek()} function.
+Parameters to the \function{lseek()} function.
Their values are 0, 1, and 2, respectively.
Availability: Windows, Macintosh, \UNIX.
\versionadded{2.5}
\end{funcdesc}
\begin{funcdesc}{getscrmm}{}
-Return the screen size in millimeters.
+Return the screen size in millimetres.
\end{funcdesc}
\begin{funcdesc}{fetchcolor}{colorname}
\moduleauthor{Fredrik Lundh}{fredrik@pythonware.com}
\sectionauthor{Eric S. Raymond}{esr@snark.thyrsus.com}
-% Not everyting is documented yet. It might be good to describe
+% Not everything is documented yet. It might be good to describe
% Marshaller, Unmarshaller, getparser, dumps, loads, and Transport.
\versionadded{2.2}
Screen distances can be specified in either pixels or absolute
distances. Pixels are given as numbers and absolute distances as
strings, with the trailing character denoting units: \code{c}
-for centimeters, \code{i} for inches, \code{m} for millimeters,
+for centimetres, \code{i} for inches, \code{m} for millimetres,
\code{p} for printer's points. For example, 3.5 inches is expressed
as \code{"3.5i"}.
\chapter{MacPython OSA Modules \label{scripting}}
Python has a fairly complete implementation of the Open Scripting
-Architecure (OSA, also commonly referred to as AppleScript), allowing
+Architecture (OSA, also commonly referred to as AppleScript), allowing
you to control scriptable applications from your Python program,
and with a fairly pythonic interface.
object is a member of a set if the set is a sequence and contains an
element equal to that object. However, it is possible for an object
to support membership tests without being a sequence. In particular,
-dictionaries support memership testing as a nicer way of spelling
+dictionaries support membership testing as a nicer way of spelling
\code{\var{key} in \var{dict}}; other mapping types may follow suit.
For the list and tuple types, \code{\var{x} in \var{y}} is true if and