]> granicus.if.org Git - python/commitdiff
Rob W. W. Hooft's spelling fixes for the Library Reference. I hope
authorThomas Wouters <thomas@python.org>
Sun, 16 Jul 2000 19:01:10 +0000 (19:01 +0000)
committerThomas Wouters <thomas@python.org>
Sun, 16 Jul 2000 19:01:10 +0000 (19:01 +0000)
SourceForge doesn't choke on this batch :-)

I'm not entirely sure this is 100% correct. The patch changes an
\index{persistency} to \index{presistence}, and I don't know what \index{}
does. But it seems to do so persi--er, consistently, so I hope it isn't a
problem.

61 files changed:
Doc/lib/liballos.tex
Doc/lib/libascii.tex
Doc/lib/libasyncore.tex
Doc/lib/libaudioop.tex
Doc/lib/libbasehttp.tex
Doc/lib/libbinascii.tex
Doc/lib/libcd.tex
Doc/lib/libcfgparser.tex
Doc/lib/libcgi.tex
Doc/lib/libcgihttp.tex
Doc/lib/libchunk.tex
Doc/lib/libcode.tex
Doc/lib/libcurses.tex
Doc/lib/libdircache.tex
Doc/lib/libdl.tex
Doc/lib/libformatter.tex
Doc/lib/libftplib.tex
Doc/lib/libhtmllib.tex
Doc/lib/libimageop.tex
Doc/lib/libimaplib.tex
Doc/lib/libimp.tex
Doc/lib/libintro.tex
Doc/lib/liblocale.tex
Doc/lib/libmarshal.tex
Doc/lib/libmd5.tex
Doc/lib/libmutex.tex
Doc/lib/libnetrc.tex
Doc/lib/libnis.tex
Doc/lib/libos.tex
Doc/lib/libpanel.tex
Doc/lib/libparser.tex
Doc/lib/libpdb.tex
Doc/lib/libpickle.tex
Doc/lib/libpipes.tex
Doc/lib/libpoplib.tex
Doc/lib/librotor.tex
Doc/lib/libsched.tex
Doc/lib/libsgmllib.tex
Doc/lib/libsha.tex
Doc/lib/libshelve.tex
Doc/lib/libshlex.tex
Doc/lib/libsignal.tex
Doc/lib/libsmtplib.tex
Doc/lib/libsomeos.tex
Doc/lib/libstatvfs.tex
Doc/lib/libstdwin.tex
Doc/lib/libsunau.tex
Doc/lib/libsymbol.tex
Doc/lib/libtelnetlib.tex
Doc/lib/libtempfile.tex
Doc/lib/libtime.tex
Doc/lib/libtoken.tex
Doc/lib/libtraceback.tex
Doc/lib/libundoc.tex
Doc/lib/liburllib.tex
Doc/lib/liburlparse.tex
Doc/lib/libuser.tex
Doc/lib/libuserdict.tex
Doc/lib/libwave.tex
Doc/lib/libwinsound.tex
Doc/lib/libxmllib.tex

index 4d926c42f418e26a44082139965abd968aaa7a70..dd046c95bc125eae73c58d07723ceeb3ac979027 100644 (file)
@@ -2,7 +2,7 @@
 
 The modules described in this chapter provide interfaces to operating
 system features that are available on (almost) all operating systems,
-such as files and a clock.  The interfaces are generally modelled
+such as files and a clock.  The interfaces are generally modeled
 after the \UNIX{} or C interfaces, but they are available on most
 other systems as well.  Here's an overview:
 
index d71aa2ef85115c639a0d7894c554743cf00ce4be..af40c2b938c7eaf8712ba20786c5bb1f879525ae 100644 (file)
@@ -18,7 +18,7 @@ control characters as follows:
   \lineii{NUL}{}
   \lineii{SOH}{Start of heading, console interrupt}
   \lineii{STX}{Start of text}
-  \lineii{ETX}{Ennd of text}
+  \lineii{ETX}{End of text}
   \lineii{EOT}{End of transmission}
   \lineii{ENQ}{Enquiry, goes with \constant{ACK} flow control}
   \lineii{ACK}{Acknowledgement}
index 4bcd49676b9f19f2f81fd4904c544709065dbbd5..5b3909064a35cf6e7a2f44c98f7c96089efdf90b 100644 (file)
@@ -107,7 +107,7 @@ def handle_write(self):
   Each time through the \method{select()} loop, the set of sockets 
   is scanned, and this method is called to see if there is any 
   interest in writing.  The default method simply returns \code{1}, 
-  indiciating that by default, all channels will be interested.
+  indicating that by default, all channels will be interested.
 \end{methoddesc}
 
 In addition, there are the basic methods needed to construct and
index 88bf046051cb9a1a08eb1923436c0c015e0a47d6..00a91d1bf8279490894c5d4ed87ccc765c5d3fd4 100644 (file)
@@ -151,7 +151,7 @@ Return the maximum peak-peak value in the sound fragment.
 \end{funcdesc}
 
 \begin{funcdesc}{mul}{fragment, width, factor}
-Return a fragment that has all samples in the original framgent
+Return a fragment that has all samples in the original fragment
 multiplied by the floating-point value \var{factor}.  Overflow is
 silently ignored.
 \end{funcdesc}
@@ -161,7 +161,7 @@ silently ignored.
 Convert the frame rate of the input fragment.
 
 \var{state} is a tuple containing the state of the converter.  The
-converter returns a tupl \code{(\var{newfragment}, \var{newstate})},
+converter returns a tuple \code{(\var{newfragment}, \var{newstate})},
 and \var{newstate} should be passed to the next call of
 \function{ratecv()}.
 
index 82714b1f7343c47dcbe2f018b829ed96c2ad921b..0c9f705470c7d4c0604ef43634a128f3d32c09cd 100644 (file)
@@ -90,7 +90,7 @@ input data.
 
 \begin{memberdesc}{wfile}
 Contains the output stream for writing a response back to the client.
-Proper adherance to the HTTP protocol must be used when writing
+Proper adherence to the HTTP protocol must be used when writing
 to this stream.
 \end{memberdesc}
 
@@ -115,7 +115,7 @@ variable. For example, \code{'Python/1.4'}.
 Specifies a format string for building an error response to the
 client. It uses parenthesized, keyed format specifiers, so the
 format operand must be a dictionary. The \var{code} key should
-be an integer, specifing the numeric HTTP error code value.
+be an integer, specifying the numeric HTTP error code value.
 \var{message} should be a string containing a (detailed) error
 message of what occurred, and \var{explain} should be an
 explanation of the error code number. Default \var{message}
index bbc7f4410b1134d368647a211ea1e029bdf76ce1..8694ca94129eca5ce4eb1d49cfdff592ccf2198b 100644 (file)
@@ -11,7 +11,7 @@ between binary and various \ASCII{}-encoded binary
 representations. Normally, you will not use these functions directly
 but use wrapper modules like \refmodule{uu}\refstmodindex{uu} or
 \refmodule{binhex}\refstmodindex{binhex} instead, this module solely
-exists because bit-manipuation of large amounts of data is slow in
+exists because bit-manipulation of large amounts of data is slow in
 Python.
 
 The \module{binascii} module defines the following functions:
index 6f48fcf7ebfbb30c7bab445d3ba584ede446ff60..0e7f90c2ac9cf42b2bda140c0fdb7ac5354a9ab8 100644 (file)
@@ -86,7 +86,7 @@ will return I/O errors.
 \end{datadesc}
 
 \begin{datadesc}{ERROR}
-An error aoocurred while trying to read the disc or its table of
+An error occurred while trying to read the disc or its table of
 contents.
 \end{datadesc}
 
@@ -194,7 +194,7 @@ track.
 \end{methoddesc}
 
 \begin{methoddesc}[CD player]{playtrackabs}{track, minutes, seconds, frames, play}
-Like \method{play()}, except that playing begins at the spcified
+Like \method{play()}, except that playing begins at the specified
 absolute time and ends at the end of the specified track.
 \end{methoddesc}
 
index 805767d1fe6db7e4cae1371e39ca4c6747512d2b..1905e62a83598ffcd79fc55b23c8f0167de9709d 100644 (file)
@@ -56,7 +56,7 @@ Exception raised when a specified section is not found.
 \end{excdesc}
 
 \begin{excdesc}{DuplicateSectionError}
-Exception raised when mutliple sections with the same name are found,
+Exception raised when multiple sections with the same name are found,
 or if \method{add_section()} is called with the name of a section that 
 is already present.
 \end{excdesc}
index 3b755a0157539ba6d9d3420c4476b7184ab3c071..e90bf1cd8c9596d130a3e0aa054d18cc04042dae 100644 (file)
@@ -104,7 +104,7 @@ If the submitted form data contains more than one field with the same
 name, the object retrieved by \samp{form[\var{key}]} is not a
 \class{FieldStorage} or \class{MiniFieldStorage}
 instance but a list of such instances.  If you expect this possibility
-(i.e., when your HTML form comtains multiple fields with the same
+(i.e., when your HTML form contains multiple fields with the same
 name), use the \function{type()} function to determine whether you
 have a single instance or a list of instances.  For example, here's
 code that concatenates any number of username fields, separated by
@@ -131,7 +131,7 @@ If a field represents an uploaded file, the value attribute reads the
 entire file in memory as a string.  This may not be what you want.
 You can test for an uploaded file by testing either the filename
 attribute or the file attribute.  You can then read the data at
-leasure from the file attribute:
+leisure from the file attribute:
 
 \begin{verbatim}
 fileitem = form["userfile"]
index a2f453a6d8b9215ed0648cb6d559aabfe0efea0a..33433147df1a37924fdb35749ef1bb7a2761b4c7 100644 (file)
@@ -11,7 +11,7 @@
 
 The \module{CGIHTTPServer} module defines a request-handler class,
 interface compatible with
-\class{BaseHTTPServer.BaseHTTPRequestHandler} and inherits behaviour
+\class{BaseHTTPServer.BaseHTTPRequestHandler} and inherits behavior
 from \class{SimpleHTTPServer.SimpleHTTPRequestHandler} but can also
 run CGI scripts.
 
index 0825a2568bdb72b55bebc6642697274eef642d83..c580c772683c81a004bf3f0a749d1de917f58763 100644 (file)
@@ -24,7 +24,7 @@ A chunk has the following structure:
   \lineiii{4}{4}{Size of chunk in big-endian byte order, not including the 
                  header}
   \lineiii{8}{\var{n}}{Data bytes, where \var{n} is the size given in
-                       the preceeding field}
+                       the preceding field}
   \lineiii{8 + \var{n}}{0 or 1}{Pad byte needed if \var{n} is odd and
                                 chunk alignment is used}
 \end{tableiii}
index 4b6639491781cb12b069f97da27045c920753112..0566768b73692b3af1a9d6b46588bfdb95c42903 100644 (file)
@@ -103,7 +103,7 @@ The return value can be used to decide whether to use
 Execute a code object.
 When an exception occurs, \method{showtraceback()} is called to
 display a traceback.  All exceptions are caught except
-\exception{SystemExit}, which is allowed to propogate.
+\exception{SystemExit}, which is allowed to propagate.
 
 A note about \exception{KeyboardInterrupt}: this exception may occur
 elsewhere in this code, and may not always be caught.  The caller
index c46cbe5b7f59b29a2ed9d066e139a54cae648494..bb2109d572371172ea46651a36ff7af9965f29f9 100644 (file)
@@ -1,5 +1,5 @@
 \section{\module{curses} ---
-         Terminal independant console handling}
+         Terminal independent console handling}
 
 \declaremodule{extension}{curses}
 \sectionauthor{Moshe Zadka}{mzadka@geocities.com}
@@ -243,7 +243,7 @@ allow only 7-bit chars.
 \end{funcdesc}
 
 \begin{funcdesc}{mouseinterval}{interval}
-Sets the maximum time in millisecondsthat can elapse between press and
+Sets the maximum time in milliseconds that can elapse between press and
 release events in order for them to be recognized as a click, and
 returns the previous interval value.  The default value is 200 msec,
 or one fifth of a second.
@@ -846,7 +846,7 @@ the window.
 \end{methoddesc}
 
 \begin{methoddesc}{timeout}{delay}
-Sets blocking or non-blocking read behaviour for the window.  If
+Sets blocking or non-blocking read behavior for the window.  If
 \var{delay} is negative, blocking read is used, which will wait
 indefinitely for input).  If \var{delay} is zero, then non-blocking
 read is used, and -1 will be returned by \method{getch()} if no input
index f75bb53e0cbf4e05db37891fc904c0d9bf5b8137..45ac01a2478207e2af75cf4c191d55bae3060041 100644 (file)
@@ -22,7 +22,7 @@ a future version should change it to return a tuple?)
 \end{funcdesc}
 
 \begin{funcdesc}{opendir}{path}
-Same as \function{listdir()}. Defined for backwards compatability.
+Same as \function{listdir()}. Defined for backwards compatibility.
 \end{funcdesc}
 
 \begin{funcdesc}{annotate}{head, list}
index 31a37937c9f6065c5ca8e556cd9a38708285ee2f..00c8ee518f7f9422f28f50e0743fc6546113664b 100644 (file)
@@ -8,7 +8,7 @@
 The \module{dl} module defines an interface to the
 \cfunction{dlopen()} function, which is the most common interface on
 \UNIX{} platforms for handling dynamically linked libraries. It allows
-the program to call arbitary functions in such a library.
+the program to call arbitrary functions in such a library.
 
 \strong{Note:} This module will not work unless
 \begin{verbatim}
@@ -23,7 +23,7 @@ The \module{dl} module defines the following function:
 Open a shared object file, and return a handle. Mode
 signifies late binding (\constant{RTLD_LAZY}) or immediate binding
 (\constant{RTLD_NOW}). Default is \constant{RTLD_LAZY}. Note that some
-sytems do not support \constant{RTLD_NOW}.
+systems do not support \constant{RTLD_NOW}.
 
 Return value is a \pytype{dlobject}.
 \end{funcdesc}
@@ -44,7 +44,7 @@ determine if the system supports immediate binding.
 The \module{dl} module defines the following exception:
 
 \begin{excdesc}{error}
-Exception raised when an error has occured inside the dynamic loading
+Exception raised when an error has occurred inside the dynamic loading
 and linking routines.
 \end{excdesc}
 
index fcda71d3f74ae7f0d6a09ad8ea37d792e5308e24..727198272bbbe5fe9417205114331377b1d64b5a 100644 (file)
@@ -6,7 +6,7 @@
 
 
 
-This module supports two interface definitions, each with mulitple
+This module supports two interface definitions, each with multiple
 implementations.  The \emph{formatter} interface is used by the
 \class{HTMLParser} class of the \refmodule{htmllib} module, and the
 \emph{writer} interface is required by the formatter interface.
@@ -75,8 +75,8 @@ not broken.  The arguments and keywords are passed on to the writer's
 \end{methoddesc}
 
 \begin{methoddesc}[formatter]{add_flowing_data}{data}
-Provide data which should be formatted with collapsed whitespaces.
-Whitespace from preceeding and successive calls to
+Provide data which should be formatted with collapsed whitespace.
+Whitespace from preceding and successive calls to
 \method{add_flowing_data()} is considered as well when the whitespace
 collapse is performed.  The data which is passed to this method is
 expected to be word-wrapped by the output device.  Note that any
@@ -106,7 +106,7 @@ value, are used to compute label values.  Each character in the format
 string is copied to the label value, with some characters recognized
 to indicate a transform on the counter value.  Specifically, the
 character \character{1} represents the counter value formatter as an
-arabic number, the characters \character{A} and \character{a}
+Arabic number, the characters \character{A} and \character{a}
 represent alphabetic representations of the counter value in upper and
 lower case, respectively, and \character{I} and \character{i}
 represent the counter value in Roman numerals, in upper and lower
@@ -264,7 +264,7 @@ Break the current line.
 
 \begin{methoddesc}[writer]{send_paragraph}{blankline}
 Produce a paragraph separation of at least \var{blankline} blank
-lines, or the equivelent.  The \var{blankline} value will be an
+lines, or the equivalent.  The \var{blankline} value will be an
 integer.  Note that the implementation will receive a call to
 \method{send_line_break()} before this call if a line break is needed; 
 this method should not include ending the last line of the paragraph.
index d4813a58a400d338c519c99cac9e1b606ff192cb..3a9e6368ad08fc6a8bee0aeef63b3e00c89f7d37 100644 (file)
@@ -265,6 +265,6 @@ Close the connection unilaterally.  This should not be applied to an
 already closed connection (e.g.\ after a successful call to
 \method{quit()}.  After this call the \class{FTP} instance should not
 be used any more (i.e., after a call to \method{close()} or
-\method{quit()} you cannot reopen the connection by issueing another
+\method{quit()} you cannot reopen the connection by issuing another
 \method{login()} method).
 \end{methoddesc}
index ec2b89a5d275975c12fc5d9defa2f9a5333b223a..508d00404680d313d9500dee4d55a4ce401b94cb 100644 (file)
@@ -124,9 +124,9 @@ nested.
 
 \begin{methoddesc}{save_end}{}
 Ends buffering character data and returns all data saved since the
-preceeding call to \method{save_bgn()}.  If the \member{nofill} flag is
+preceding call to \method{save_bgn()}.  If the \member{nofill} flag is
 false, whitespace is collapsed to single spaces.  A call to this
-method without a preceeding call to \method{save_bgn()} will raise a
+method without a preceding call to \method{save_bgn()} will raise a
 \exception{TypeError} exception.
 \end{methoddesc}
 
index b364387c3dc13c256eebfdaf41749412f84dca30..0f611e70da2659934e0bc49c785a765ddb822bfe 100644 (file)
@@ -46,7 +46,7 @@ interlacing, hence the name.
 
 \begin{funcdesc}{grey2mono}{image, width, height, threshold}
 Convert a 8-bit deep greyscale image to a 1-bit deep image by
-tresholding all the pixels.  The resulting image is tightly packed and
+thresholding all the pixels.  The resulting image is tightly packed and
 is probably only useful as an argument to \function{mono2grey()}.
 \end{funcdesc}
 
index 9e578181937b3968bfbadb0d242a61735e377adb..8fdc35955cb18aad026b3ea524b6808823fc26ef 100644 (file)
@@ -42,7 +42,7 @@ exception.
 \end{excdesc}
 
 \begin{excdesc}{IMAP4.readonly}
-This exception is raised when a writeable mailbox has its status changed by the server.  This is a
+This exception is raised when a writable mailbox has its status changed by the server.  This is a
 sub-class of \exception{IMAP4.error}.  Some other client now has write permission,
 and the mailbox will need to be re-opened to re-obtain write permission.
 \end{excdesc}
index 9279591de03f9653fa01fa9f5c550f8151cf2394..4c66736bd1e3bdce3dd9928dc35d00be3a5a6ac9 100644 (file)
@@ -52,7 +52,7 @@ returned by \function{get_suffixes()} describing the kind of module found.
 If the module does not live in a file, the returned \var{file} is
 \code{None}, \var{filename} is the empty string, and the
 \var{description} tuple contains empty strings for its suffix and
-mode; the module type is as indicate in parentheses dabove.  If the
+mode; the module type is as indicate in parentheses above.  If the
 search is unsuccessful, \exception{ImportError} is raised.  Other
 exceptions indicate problems with the arguments or environment.
 
@@ -187,7 +187,7 @@ don't like that and may raise an exception.  The \var{pathname}
 argument must point to the shared library.  The \var{name} argument is
 used to construct the name of the initialization function: an external
 C function called \samp{init\var{name}()} in the shared library is
-called.  The optional \var{file} argment is ignored.  (Note: using
+called.  The optional \var{file} argument is ignored.  (Note: using
 shared libraries is highly system dependent, and not all systems
 support it.)
 \end{funcdesc}
index 70c7c705f2c85f6a0c5f14e6e5aa3c2eba580cbe..c17484f2aba5f598e41920616a04b7376e468e99 100644 (file)
@@ -25,7 +25,7 @@ trace; some provide interfaces that are specific to particular
 operating systems, such as access to specific hardware; others provide
 interfaces that are
 specific to a particular application domain, like the World-Wide Web.
-Some modules are avaiable in all versions and ports of Python; others
+Some modules are available in all versions and ports of Python; others
 are only available when the underlying system supports or requires
 them; yet others are available only when a particular configuration
 option was chosen at the time when Python was compiled and installed.
index bb84343f3bbedada64021020756b5e899f0118bb..ee7665b5db1988386d32a233f9d308c672b63ef7 100644 (file)
@@ -258,7 +258,7 @@ generally okay, and Python will use whatever locale is set,
 \samp{C}.
 
 The \function{setlocale()} function in the \module{locale} module
-gives the Python progammer the impression that you can manipulate the
+gives the Python programmer the impression that you can manipulate the
 \constant{LC_NUMERIC} locale setting, but this not the case at the C
 level: C code will always find that the \constant{LC_NUMERIC} locale
 setting is \samp{C}.  This is because too much would break when the
index 4b0589f08d11d69f6a6d399582b03dbd55cef2e3..56864516e4f1ecbdfe643dc96f62f31b799bded4 100644 (file)
@@ -19,7 +19,7 @@ does).\footnote{The name of this module stems from a bit of
   convert some data from internal to external form (in an RPC buffer for
   instance) and ``unmarshalling'' for the reverse process.}
 
-This is not a general ``persistency'' module.  For general persistency
+This is not a general ``persistence'' module.  For general persistence
 and transfer of Python objects through RPC calls, see the modules
 \refmodule{pickle} and \refmodule{shelve}.  The \module{marshal} module exists
 mainly to support reading and writing the ``pseudo-compiled'' code for
index eac1a618f0995b3f36fa2939df5d35ee39ead01c..8800e5081769e65dd9dddb9c3f0e498246df417f 100644 (file)
@@ -12,7 +12,7 @@ straightforward:\ use the \function{new()} to create an md5 object.
 You can now feed this object with arbitrary strings using the
 \method{update()} method, and at any point you can ask it for the
 \dfn{digest} (a strong kind of 128-bit checksum,
-a.k.a. ``fingerprint'') of the contatenation of the strings fed to it
+a.k.a. ``fingerprint'') of the concatenation of the strings fed to it
 so far using the \method{digest()} method.
 \index{checksum!MD5}
 
index d6e3707b5370b2379189533f1a106eb7a5dfe209..773f9eb7a0e256eb1412eecb22a7d7743c22a6f6 100644 (file)
@@ -7,7 +7,7 @@
 \modulesynopsis{Lock and queue for mutual exclusion.}
 
 The \module{mutex} defines a class that allows mutual-exclusion
-via aquiring and releasing locks. It does not require (or imply)
+via acquiring and releasing locks. It does not require (or imply)
 threading or multi-tasking, though it could be useful for
 those purposes.
 
@@ -27,7 +27,7 @@ the first queue entry is removed and its
 implying it now has the lock.
 
 Of course, no multi-threading is implied -- hence the funny interface
-for lock, where a function is called once the lock is aquired.
+for lock, where a function is called once the lock is acquired.
 \end{classdesc}
 
 
index 9ad8d70b5abbd870500350b531fc3fdc8528b57e..d11ed0101f2b81b0d411e55e8d39ea161825691a 100644 (file)
@@ -14,7 +14,7 @@ The \class{netrc} class parses and encapsulates the netrc file format
 used by the \UNIX{} \program{ftp} program and other FTP clients.
 
 \begin{classdesc}{netrc}{\optional{file}}
-A \class{netrc} instance or subclass instance enapsulates data from 
+A \class{netrc} instance or subclass instance encapsulates data from 
 a netrc file.  The initialization argument, if present, specifies the
 file to parse.  If no argument is given, the file \file{.netrc} in the
 user's home directory will be read.  Parse errors will raise
index d7060fada0aee88fd95be7059af793cb531bbe80..34ca329abf7e7ec6eb2294ba8e6123a5a97539fc 100644 (file)
@@ -19,7 +19,7 @@ The \module{nis} module defines the following functions:
 Return the match for \var{key} in map \var{mapname}, or raise an
 error (\exception{nis.error}) if there is none.
 Both should be strings, \var{key} is 8-bit clean.
-Return value is an arbitary array of bytes (i.e., may contain \code{NULL}
+Return value is an arbitrary array of bytes (i.e., may contain \code{NULL}
 and other joys).
 
 Note that \var{mapname} is first checked if it is an alias to another name.
@@ -28,7 +28,7 @@ Note that \var{mapname} is first checked if it is an alias to another name.
 \begin{funcdesc}{cat}{mapname}
 Return a dictionary mapping \var{key} to \var{value} such that
 \code{match(\var{key}, \var{mapname})==\var{value}}.
-Note that both keys and values of the dictionary are arbitary
+Note that both keys and values of the dictionary are arbitrary
 arrays of bytes.
 
 Note that \var{mapname} is first checked if it is an alias to another name.
index 803d90b729931e4263ad745033849b76f37e9156..cb55eb587f2101eef6ba7cf6c32e8a02a8326aad 100644 (file)
@@ -325,7 +325,7 @@ Availability: \UNIX{}, Windows.
 \end{funcdesc}
 
 \begin{funcdesc}{fpathconf}{fd, name}
-Return system configration information relevant to an open file.
+Return system configuration information relevant to an open file.
 \var{name} specifies the configuration value to retrieve; it may be a
 string which is the name of a defined system value; these names are
 specified in a number of standards (\POSIX.1, Unix95, Unix98, and
@@ -575,7 +575,7 @@ is \code{0777} (octal).
 \end{funcdesc}
 
 \begin{funcdesc}{pathconf}{path, name}
-Return system configration information relevant to a named file.
+Return system configuration information relevant to a named file.
 \var{name} specifies the configuration value to retrieve; it may be a
 string which is the name of a defined system value; these names are
 specified in a number of standards (\POSIX.1, Unix95, Unix98, and
@@ -983,7 +983,7 @@ Availability: \UNIX{}.
 \end{funcdesc}
 
 
-\subsection{Miscellanenous System Information \label{os-path}}
+\subsection{Miscellaneous System Information \label{os-path}}
 
 
 \begin{funcdesc}{confstr}{name}
index cc56dad8952d55a1b8b883ccb3bf9995233b2c50..dc201fc1f0a177ef3c94fa4a04834b43f35e8c26 100644 (file)
@@ -64,7 +64,7 @@ built by NASA Ames\index{NASA} (to get it, send e-mail to
 \code{panel-request@nas.nasa.gov}).
 All access to it should be done through the standard module
 \code{panel}\refstmodindex{panel},
-which transparantly exports most functions from
+which transparently exports most functions from
 \code{pnl}
 but redefines
 \code{pnl.dopanel()}.
index c478b93f63b1a91449e52e0e11cf5cdd699a0419..96256adc3753f797866b47c0e602852872ce795b 100644 (file)
@@ -593,7 +593,7 @@ information; this parallels the use of the \keyword{def} statement to
 define both types of elements.
 
 Most of the accessor functions are declared in \class{SuiteInfoBase}
-and do not need to be overriden by subclasses.  More importantly, the
+and do not need to be overridden by subclasses.  More importantly, the
 extraction of most information from a parse tree is handled through a
 method called by the \class{SuiteInfoBase} constructor.  The example
 code for most of the classes is clear when read alongside the formal
@@ -684,7 +684,7 @@ a class definition, function or method definition, or
 something else.  For the definition statements, the name of the
 element defined is extracted and a representation object
 appropriate to the definition is created with the defining subtree
-passed as an argument to the constructor.  The repesentation objects
+passed as an argument to the constructor.  The representation objects
 are stored in instance variables and may be retrieved by name using
 the appropriate accessor methods.
 
index 13514f5c6b711f73a52f6b61680214a7d6d34dd2..40fcdad4fceb09d6ad6cad03e0cf0d94b12bd90b 100644 (file)
@@ -153,7 +153,7 @@ exists in the user's home directory or in the current directory, it is
 read in and executed as if it had been typed at the debugger prompt.
 This is particularly useful for aliases.  If both files exist, the one
 in the home directory is read first and aliases defined there can be
-overriden by the local file.
+overridden by the local file.
 
 \begin{description}
 
index ebc897558d98a9c6d2939a630ada7ce72423b3b7..2c59c821a8952b31a40a3bfa5a8bb30e11ce86c2 100644 (file)
@@ -5,7 +5,7 @@
 \modulesynopsis{Convert Python objects to streams of bytes and back.}
 % Substantial improvements by Jim Kerr <jbkerr@sr.hp.com>.
 
-\index{persistency}
+\index{persistence}
 \indexii{persistent}{objects}
 \indexii{serializing}{objects}
 \indexii{marshalling}{objects}
@@ -17,7 +17,7 @@ The \module{pickle} module implements a basic but powerful algorithm
 for ``pickling'' (a.k.a.\ serializing, marshalling or flattening)
 nearly arbitrary Python objects.  This is the act of converting
 objects to a stream of bytes (and back: ``unpickling'').  This is a
-more primitive notion than persistency --- although \module{pickle}
+more primitive notion than persistence --- although \module{pickle}
 reads and writes file objects, it does not handle the issue of naming
 persistent objects, nor the (even more complicated) area of concurrent
 access to persistent objects.  The \module{pickle} module can
@@ -92,7 +92,7 @@ great need for it right now (as long as \refmodule{marshal} continues
 to be used for reading and writing code objects), and at least this
 avoids the possibility of smuggling Trojan horses into a program.
 
-For the benefit of persistency modules written using \module{pickle}, it
+For the benefit of persistence modules written using \module{pickle}, it
 supports the notion of a reference to an object outside the pickled
 data stream.  Such objects are referenced by a name, which is an
 arbitrary string of printable \ASCII{} characters.  The resolution of
@@ -250,7 +250,7 @@ Apart from the \class{Pickler} and \class{Unpickler} classes, the
 module defines the following functions, and an exception:
 
 \begin{funcdesc}{dump}{object, file\optional{, bin}}
-Write a pickled representation of \var{obect} to the open file object
+Write a pickled representation of \var{object} to the open file object
 \var{file}.  This is equivalent to
 \samp{Pickler(\var{file}, \var{bin}).dump(\var{object})}.
 If the optional \var{bin} argument is present and nonzero, the binary
@@ -380,7 +380,7 @@ cannot be subclassed.  This should not be an issue in most cases.
 
 The format of the pickle data is identical to that produced using the
 \refmodule{pickle} module, so it is possible to use \refmodule{pickle} and
-\module{cPickle} interchangably with existing pickles.
+\module{cPickle} interchangeably with existing pickles.
 
 (Since the pickle data format is actually a tiny stack-oriented
 programming language, and there are some freedoms in the encodings of
index e91f05b6f0b1db188a09398b79541a5e18964f0f..6d389d8512c9d1764c9454aeefc952865bb4161d 100644 (file)
@@ -62,7 +62,7 @@ reads its standard input), \code{'f'} (which means the commands reads
 a given file on the command line) or \code{'.'} (which means the commands
 reads no input, and hence must be first.)
 
-Similarily, the second letter can be either of \code{'-'} (which means 
+Similarly, the second letter can be either of \code{'-'} (which means 
 the command writes to standard output), \code{'f'} (which means the 
 command writes a file on the command line) or \code{'.'} (which means
 the command does not write anything, and hence must be last.)
index 4408ef3f26bf8e96d14785f69d75d2895da74feb..d75e6daa16d570de15a3b76726199e45af13f254 100644 (file)
@@ -13,7 +13,7 @@
 
 This module defines a class, \class{POP3}, which encapsulates a
 connection to an POP3 server and implements protocol as defined in
-\rfc{1725}.  The \class{POP3} class supports both the minmal and
+\rfc{1725}.  The \class{POP3} class supports both the minimal and
 optional command sets.
 
 A single class is provided by the \module{poplib} module:
@@ -46,7 +46,7 @@ Returns the greeting string sent by the POP3 server.
 
 
 \begin{methoddesc}{user}{username}
-Send user commad, response should indicate that a password is required.
+Send user command, response should indicate that a password is required.
 \end{methoddesc}
 
 \begin{methoddesc}{pass_}{password}
index 5cfe2b7d77a60fde32448bf0505597bcb574b9e6..799df83a806cb31a26a991e9b3b455192f2027e6 100644 (file)
@@ -98,7 +98,7 @@ arbitrary number of rotors.
 The original Enigma cipher was broken in 1944. % XXX: Is this right?
 The version implemented here is probably a good deal more difficult to crack
 (especially if you use many rotors), but it won't be impossible for
-a truly skilful and determined attacker to break the cipher.  So if you want
+a truly skillful and determined attacker to break the cipher.  So if you want
 to keep the NSA out of your files, this rotor cipher may well be unsafe, but
 for discouraging casual snooping through your files, it will probably be
 just fine, and may be somewhat safer than using the \UNIX{} \program{crypt}
index 21366f5b2392fc478d3579551757fc67007e1275..42d248192a32cc0fc98bd4a8706531a73c73e343 100644 (file)
@@ -92,6 +92,6 @@ the event will not be attempted in future calls to \method{run()}.
 
 If a sequence of events takes longer to run than the time available
 before the next event, the scheduler will simply fall behind.  No
-events will be dropped; the calling code is responsible for cancelling 
+events will be dropped; the calling code is responsible for canceling 
 events which are no longer pertinent.
 \end{methoddesc}
index 5a644b63339a51cc3df387810bfdeb7ccf34c14f..9907caafb9054847d7293679ba9240eba9e33312 100644 (file)
@@ -34,7 +34,7 @@ Entity references of the form \samp{\&\var{name};}.
 \item
 SGML comments of the form \samp{<!--\var{text}-->}.  Note that
 spaces, tabs, and newlines are allowed between the trailing
-\samp{>} and the immediately preceeding \samp{--}.
+\samp{>} and the immediately preceding \samp{--}.
 
 \end{itemize}
 \end{classdesc}
index 1b1ce5077a39be4af92b963ab4ceabe3a6f3c65d..17ed3e9604ddccbd465e117463230ee42a025406 100644 (file)
@@ -11,7 +11,7 @@ algorithm,\index{Secure Hash Algorithm} known as SHA.  It is used in
 the same way as the \refmodule{md5} module:\ use the \function{new()}
 to create an sha object, then feed this object with arbitrary strings
 using the \method{update()} method, and at any point you can ask it
-for the \dfn{digest} of the contatenation of the strings fed to it
+for the \dfn{digest} of the concatenation of the strings fed to it
 so far.\index{checksum!SHA}  SHA digests are 160 bits instead of 128
 bits.
 
index 171daee19dcccecdd46fc4673477f9ee4ff09057..76eaaf49c261fe0d344edbbbfc884115804e0304 100644 (file)
@@ -1,8 +1,8 @@
 \section{\module{shelve} ---
-         Python object persistency}
+         Python object persistence}
 
 \declaremodule{standard}{shelve}
-\modulesynopsis{Python object persistency.}
+\modulesynopsis{Python object persistence.}
 
 
 A ``shelf'' is a persistent, dictionary-like object.  The difference
index f1eea3a99ed1954db6ffe5a2f58f02e8c0a6db62..85cbbcd1900c24a8e77a57fba03593324c3c72d8 100644 (file)
@@ -21,7 +21,7 @@ read characters from. It must be a file- or stream-like object with
 input will be taken from \code{sys.stdin}.  The second optional 
 argument is a filename string, which sets the initial value of the
 \member{infile} member.  If the stream argument is omitted or
-equal to \code{sys.stdin}, this second argument defauilts to ``stdin''.
+equal to \code{sys.stdin}, this second argument defaults to ``stdin''.
 \end{classdesc}
 
 
index f2624e67f5dd42865033e3db0331496ef36760cf..ce23da16be234d07f819dd6e9017bc6750b2a05c 100644 (file)
@@ -56,7 +56,7 @@ only the main thread can set a new signal handler, and the main thread
 will be the only one to receive signals (this is enforced by the
 Python \module{signal} module, even if the underlying thread
 implementation supports sending signals to individual threads).  This
-means that signals can't be used as a means of interthread
+means that signals can't be used as a means of inter-thread
 communication.  Use locks instead.
 
 \end{itemize}
index 9638425afab07f1b701de13e69652641235d44c0..13bf340babf1cdc7d0a17f9540786e52005398d7 100644 (file)
@@ -56,7 +56,7 @@ A nice selection of exceptions is defined as well:
 
 \begin{excdesc}{SMTPRecipientsRefused}
   All recipient addresses refused.  The errors for each recipient are
-  accessable through the attribute \member{recipients}, which is a
+  accessible through the attribute \member{recipients}, which is a
   dictionary of exactly the same sort as \method{SMTP.sendmail()}
   returns.
 \end{excdesc}
index eea2321101f2a993df2150f630c9f2595da422bb..680c590d7d7857ecb254aeadfb628a11d27fef96 100644 (file)
@@ -3,7 +3,7 @@
 
 The modules described in this chapter provide interfaces to operating
 system features that are available on selected operating systems only.
-The interfaces are generally modelled after the \UNIX{} or \C{}
+The interfaces are generally modeled after the \UNIX{} or \C{}
 interfaces but they are available on some other systems as well
 (e.g. Windows or NT).  Here's an overview:
 
index ca9621259f73b4f04c6a6f0637456918565fb679..6b38d7a0c161daed9c098071b6254f39e41da3ca 100644 (file)
@@ -47,7 +47,7 @@ Free nodes available to non-super user.
 \end{datadesc}
 
 \begin{datadesc}{F_FLAG}
-Flags. System dependant: see \cfunction{statvfs()} man page.
+Flags. System dependent: see \cfunction{statvfs()} man page.
 \end{datadesc}
 
 \begin{datadesc}{F_NAMEMAX}
index a4fa557a00f634d9ae93ad5c8fb3ec1ffc3f54c7..df1229927a68d05eb6acc9cf9ccf1d1add57f6ac 100644 (file)
@@ -259,7 +259,7 @@ Return the total line height of the current font.
 \begin{funcdesc}{textbreak}{str, width}
 Return the number of characters of the string that fit into a space of
 \var{width}
-bits wide when drawn in the curent font.
+bits wide when drawn in the current font.
 \end{funcdesc}
 
 \begin{funcdesc}{textwidth}{str}
index 3850ce9cb1cc92134db0419eb4bd276efec6f6e5..82c66c616345403a841bdf170731f6d064abd718 100644 (file)
@@ -95,7 +95,7 @@ Rewind the file pointer to the beginning of the audio stream.
 \end{methoddesc}
 
 The following two methods define a term ``position'' which is compatible
-between them, and is otherwise implementation dependant.
+between them, and is otherwise implementation dependent.
 
 \begin{methoddesc}[AU_read]{setpos}{pos}
 Set the file pointer to the specified position.
index 9b272771c8c02493b5d193ef7b580e1a5f0c2791..f963b5363ba6023d23fdd3d7ce4a1109bc30348f 100644 (file)
@@ -9,7 +9,7 @@
 This module provides constants which represent the numeric values of
 internal nodes of the parse tree.  Unlike most Python constants, these
 use lower-case names.  Refer to the file \file{Grammar/Grammar} in the
-Python distribution for the defintions of the names in the context of
+Python distribution for the definitions of the names in the context of
 the language grammar.  The specific numeric values which the names map
 to may change between Python versions.
 
index 64c5099a7a5e6d161384413132fd7be844eac180..50d0c539038279360d3271d56f3c51a7e5a9bb21 100644 (file)
@@ -140,7 +140,7 @@ Read until one from a list of a regular expressions matches.
 The first argument is a list of regular expressions, either
 compiled (\class{re.RegexObject} instances) or uncompiled (strings).
 The optional second argument is a timeout, in seconds; the default
-is to block indefinately.
+is to block indefinitely.
 
 Return a tuple of three items: the index in the list of the
 first regular expression that matches; the match object
@@ -153,7 +153,7 @@ far (may be the empty string if a timeout happened).
 
 If a regular expression ends with a greedy match (e.g. \regexp{.*})
 or if more than one expression can match the same input, the
-results are undeterministic, and may depend on the I/O timing.
+results are indeterministic, and may depend on the I/O timing.
 \end{methoddesc}
 
 
index b3e528b3db8f37bfec1cc5333713e3b8f9d0aea9..e752ba42ebc75235020ac3a308561f0e95379e85 100644 (file)
@@ -26,7 +26,7 @@ useful on some platforms.
                                 bufsize\optional{, suffix}}}}
 Return a file (or file-like) object that can be used as a temporary
 storage area.  The file is created in the most secure manner available
-in the appporpriate temporary directory for the host platform.  Under
+in the appropriate temporary directory for the host platform.  Under
 \UNIX, the directory entry to the file is removed so that it is secure
 against attacks which involve creating symbolic links to the file or
 replacing the file with a symbolic link to some other file.  For other
index 7226b6cce3167af09cf8d91615803e34d159651e..b343c95dc773e73937fad2f33929974879ca9320 100644 (file)
@@ -86,7 +86,7 @@ is a tuple of 9 integers:
   \lineiii{3}{hour}{range [0,23]}
   \lineiii{4}{minute}{range [0,59]}
   \lineiii{5}{second}{range [0,61]; see \strong{(1)} in \function{strftime()} description}
-  \lineiii{6}{weekday}{range [0,6], monday is 0}
+  \lineiii{6}{weekday}{range [0,6], Monday is 0}
   \lineiii{7}{Julian day}{range [1,366]}
   \lineiii{8}{daylight savings flag}{0, 1 or -1; see below}
 \end{tableiii}
@@ -125,7 +125,7 @@ the same name, there is no trailing newline.
 
 \begin{funcdesc}{clock}{}
 Return the current CPU time as a floating point number expressed in
-seconds.  The precision, and in fact the very definiton of the meaning
+seconds.  The precision, and in fact the very definition of the meaning
 of ``CPU time''\index{CPU time}, depends on that of the C function
 of the same name, but in any case, this is the function to use for
 benchmarking\index{benchmarking} Python or timing algorithms.
index 4215106384431143b8a521812bf7557be730aba3..a15a78c43e728997ca174729ccc22186e794a5a3 100644 (file)
@@ -8,7 +8,7 @@
 
 This module provides constants which represent the numeric values of
 leaf nodes of the parse tree (terminal tokens).  Refer to the file
-\file{Grammar/Grammar} in the Python distribution for the defintions
+\file{Grammar/Grammar} in the Python distribution for the definitions
 of the names in the context of the language grammar.  The specific
 numeric values which the names map to may change between Python
 versions.
index 20dc019feebdfa0a0b87b94fa11d78a7fc7f04fd..a9a3ffe8248b3ddb83b64d663627bdd023f87671 100644 (file)
@@ -104,7 +104,7 @@ Format a stack trace and the exception information.  The arguments
 have the same meaning as the corresponding arguments to
 \function{print_exception()}.  The return value is a list of strings,
 each ending in a newline and some containing internal newlines.  When
-these lines are contatenated and printed, exactly the same text is
+these lines are concatenated and printed, exactly the same text is
 printed as does \function{print_exception()}.
 \end{funcdesc}
 
index 28be6205f04d2597bb39b876b339f98c013b18f7..79977bd873b8f17cb67bbc8ff809c3010d1268b8 100644 (file)
@@ -134,7 +134,7 @@ code object (these are now accessible as attributes:
 
 \item[\module{lockfile}]
 --- wrapper around FCNTL file locking (use
-\function{fcntl.lockf()}/\function{flock()} intead; see \refmodule{fcntl})
+\function{fcntl.lockf()}/\function{flock()} instead; see \refmodule{fcntl})
 
 \item[\module{newdir}]
 --- New \function{dir()} function (the standard \function{dir()} is
index c781ebcaf76f278d66b9e9313ac882d5bf3af7e3..105643107ce1bcc7cdbd53766b08f5c305045536 100644 (file)
@@ -261,7 +261,7 @@ manipulation is in module \refmodule{urlparse}\refstmodindex{urlparse}.
 \sectionauthor{Skip Montanaro}{skip@mojam.com}
 
 \class{URLopener} and \class{FancyURLopener} objects have the
-following methodsL
+following methods.
 
 \begin{methoddesc}{open}{fullurl\optional{, data}}
 Open \var{fullurl} using the appropriate protocol.  This method sets 
index 60c83cc341fde845743238bd93f6ded187616f83..05a7460f2a6383512b6349730f3f4e4dd08406ae 100644 (file)
@@ -12,7 +12,7 @@
 
 
 This module defines a standard interface to break URL strings up in
-components (addessing scheme, network location, path etc.), to combine
+components (addressing scheme, network location, path etc.), to combine
 the components back into a URL string, and to convert a ``relative
 URL'' to an absolute URL given a ``base URL.''
 
index cd460ea344c26661d1bd7c9da4bf60b2a628ed7c..4a79a54793cb4f0d63c182120c09bd5929f1c7c5 100644 (file)
@@ -23,7 +23,7 @@ import user
 \end{verbatim}
 
 The \module{user} module looks for a file \file{.pythonrc.py} in the user's
-home directory and if it can be opened, exececutes it (using
+home directory and if it can be opened, executes it (using
 \function{execfile()}\bifuncindex{execfile}) in its own (i.e. the
 module \module{user}'s) global namespace.  Errors during this phase
 are not caught; that's up to the program that imports the
index f859a279dd9922c8148813328cb3782a7adbc40c..51b7f5573f5f24220365d012dd5d473f4ad21d7a 100644 (file)
@@ -8,11 +8,11 @@ This module defines a class that acts as a wrapper around
 dictionary objects.  It is a useful base class for
 your own dictionary-like classes, which can inherit from
 them and override existing methods or add new ones.  In this way one
-can add new behaviours to dictionaries.
+can add new behaviors to dictionaries.
 
 The \module{UserDict} module defines the \class{UserDict} class:
 
-\begin{classdesc}{UserDict}{\optional{intialdata}}
+\begin{classdesc}{UserDict}{\optional{initialdata}}
 Return a class instance that simulates a dictionary.  The instance's
 contents are kept in a regular dictionary, which is accessible via the
 \member{data} attribute of \class{UserDict} instances.  If
@@ -42,7 +42,7 @@ This module defines a class that acts as a wrapper around
 list objects.  It is a useful base class for
 your own list-like classes, which can inherit from
 them and override existing methods or add new ones.  In this way one
-can add new behaviours to lists.
+can add new behaviors to lists.
 
 The \module{UserList} module defines the \class{UserList} class:
 
@@ -77,7 +77,7 @@ This module defines a class that acts as a wrapper around
 string objects.  It is a useful base class for
 your own string-like classes, which can inherit from
 them and override existing methods or add new ones.  In this way one
-can add new behaviours to strings.
+can add new behaviors to strings.
 
 The \module{UserString} module defines the \class{UserString} class:
 
@@ -109,5 +109,5 @@ keys.  The main intention of this class is to serve as an educational
 example for inheritance and necessity to remove (override) the
 \function{__hash__} method in order to trap attempts to use a
 mutable object as dictionary key, which would be otherwise very
-errorprone and hard to track down.
+error prone and hard to track down.
 \end{classdesc}
index cac09d33e6ccd5fb6091f9a00488804100b778be..7c3c4640b9ab0d31b9415f491fcbccd599436652 100644 (file)
@@ -102,7 +102,7 @@ Raise an error.
 \end{methoddesc}
 
 The following two methods define a term ``position'' which is compatible
-between them, and is otherwise implementation dependant.
+between them, and is otherwise implementation dependent.
 
 \begin{methoddesc}[Wave_read]{setpos}{pos}
 Set the file pointer to the specified position.
index 153088dd7078401636d2447860c7031f32326ada..e87c2c3ebf262064f018322bf30d32ddd96b807d 100644 (file)
@@ -53,7 +53,7 @@ two functions and several constants.
   image of a WAV file.
 
   \strong{Note:}  This module does not support playing from a memory
-  image asynchonously, so a combination of this flag and
+  image asynchronously, so a combination of this flag and
   \constant{SND_ASYNC} will raise a \exception{RuntimeError}.
 \end{datadesc}
 
index 5d67fad1c2eb4756833c64837e51a054f66fc947..378a3cf8d127065a2f6ab9458ec5f716044d18be 100644 (file)
@@ -197,7 +197,7 @@ handled separately if it is located at the start of the document.
 This method is called when a syntax error is encountered.  The
 \var{message} is a description of what was wrong.  The default method 
 raises a \exception{RuntimeError} exception.  If this method is
-overridden, it is permissable for it to return.  This method is only
+overridden, it is permissible for it to return.  This method is only
 called when the error can be recovered from.  Unrecoverable errors
 raise a \exception{RuntimeError} without first calling
 \method{syntax_error()}.