Commit 6aa8bcfe authored by Fred Drake's avatar Fred Drake

fix a bunch of spelling errors

(closes SF patch #1104868)
parent 74bad4c3
...@@ -23,7 +23,7 @@ zone, daylight saving time, or other kind of algorithmic or political ...@@ -23,7 +23,7 @@ zone, daylight saving time, or other kind of algorithmic or political
time adjustment. Whether a naive \class{datetime} object represents time adjustment. Whether a naive \class{datetime} object represents
Coordinated Universal Time (UTC), local time, or time in some other 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 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 \class{datetime} objects are easy to understand and to work with, at
the cost of ignoring some aspects of reality. the cost of ignoring some aspects of reality.
......
...@@ -35,7 +35,7 @@ mapping. The initial memory values for all three access types are ...@@ -35,7 +35,7 @@ mapping. The initial memory values for all three access types are
taken from the specified file. Assignment to an taken from the specified file. Assignment to an
\constant{ACCESS_READ} memory map raises a \exception{TypeError} \constant{ACCESS_READ} memory map raises a \exception{TypeError}
exception. Assignment to an \constant{ACCESS_WRITE} memory map 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 \constant{ACCESS_COPY} memory map affects memory but does not update
the underlying file. the underlying file.
......
...@@ -639,7 +639,7 @@ Availability: Windows. ...@@ -639,7 +639,7 @@ Availability: Windows.
\begin{datadesc}{SEEK_SET} \begin{datadesc}{SEEK_SET}
\dataline{SEEK_CUR} \dataline{SEEK_CUR}
\dataline{SEEK_END} \dataline{SEEK_END}
Parameteters to the \function{lseek()} function. Parameters to the \function{lseek()} function.
Their values are 0, 1, and 2, respectively. Their values are 0, 1, and 2, respectively.
Availability: Windows, Macintosh, \UNIX. Availability: Windows, Macintosh, \UNIX.
\versionadded{2.5} \versionadded{2.5}
......
...@@ -114,7 +114,7 @@ Return the screen size in pixels. ...@@ -114,7 +114,7 @@ Return the screen size in pixels.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{getscrmm}{} \begin{funcdesc}{getscrmm}{}
Return the screen size in millimeters. Return the screen size in millimetres.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{fetchcolor}{colorname} \begin{funcdesc}{fetchcolor}{colorname}
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
\moduleauthor{Fredrik Lundh}{fredrik@pythonware.com} \moduleauthor{Fredrik Lundh}{fredrik@pythonware.com}
\sectionauthor{Eric S. Raymond}{esr@snark.thyrsus.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. % Marshaller, Unmarshaller, getparser, dumps, loads, and Transport.
\versionadded{2.2} \versionadded{2.2}
......
...@@ -731,7 +731,7 @@ Ousterhout's book. ...@@ -731,7 +731,7 @@ Ousterhout's book.
Screen distances can be specified in either pixels or absolute Screen distances can be specified in either pixels or absolute
distances. Pixels are given as numbers and absolute distances as distances. Pixels are given as numbers and absolute distances as
strings, with the trailing character denoting units: \code{c} 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 \code{p} for printer's points. For example, 3.5 inches is expressed
as \code{"3.5i"}. as \code{"3.5i"}.
......
\chapter{MacPython OSA Modules \label{scripting}} \chapter{MacPython OSA Modules \label{scripting}}
Python has a fairly complete implementation of the Open 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, you to control scriptable applications from your Python program,
and with a fairly pythonic interface. and with a fairly pythonic interface.
......
...@@ -960,7 +960,7 @@ The set membership test has traditionally been bound to sequences; an ...@@ -960,7 +960,7 @@ The set membership test has traditionally been bound to sequences; an
object is a member of a set if the set is a sequence and contains an 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 element equal to that object. However, it is possible for an object
to support membership tests without being a sequence. In particular, 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. \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 For the list and tuple types, \code{\var{x} in \var{y}} is true if and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment