diff options
author | Fred Drake <fdrake@acm.org> | 2004-05-12 03:07:27 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2004-05-12 03:07:27 (GMT) |
commit | bb066cf84149684297d306a708a82f5c276118fb (patch) | |
tree | cf7897fe2a1f260e6a791ebce37048d2568eda6f /Doc | |
parent | f72de0fb8cf74c7fd99515273cf1d91fcfaf3de2 (diff) | |
download | cpython-bb066cf84149684297d306a708a82f5c276118fb.zip cpython-bb066cf84149684297d306a708a82f5c276118fb.tar.gz cpython-bb066cf84149684297d306a708a82f5c276118fb.tar.bz2 |
fix various typos; thanks, George Yoshida!
(closes SF patch #952047)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libcode.tex | 2 | ||||
-rw-r--r-- | Doc/lib/libinspect.tex | 2 | ||||
-rw-r--r-- | Doc/lib/libregex.tex | 2 | ||||
-rw-r--r-- | Doc/lib/liburllib2.tex | 2 | ||||
-rw-r--r-- | Doc/lib/libxmlrpclib.tex | 2 | ||||
-rw-r--r-- | Doc/lib/xmlsaxutils.tex | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/Doc/lib/libcode.tex b/Doc/lib/libcode.tex index 7bde19b..dc4c717 100644 --- a/Doc/lib/libcode.tex +++ b/Doc/lib/libcode.tex @@ -61,7 +61,7 @@ Returns a code object (the same as \code{compile(\var{source}, valid; \code{None} if the command is incomplete; raises \exception{SyntaxError} if the command is complete and contains a syntax error, or raises \exception{OverflowError} or -\exception{ValueError} if the command cotains an invalid literal. +\exception{ValueError} if the command contains an invalid literal. \end{funcdesc} diff --git a/Doc/lib/libinspect.tex b/Doc/lib/libinspect.tex index e7f4c29..68ae67b 100644 --- a/Doc/lib/libinspect.tex +++ b/Doc/lib/libinspect.tex @@ -120,7 +120,7 @@ Note: \begin{funcdesc}{getmodulename}{path} Return the name of the module named by the file \var{path}, without including the names of enclosing packages. This uses the same - algortihm as the interpreter uses when searching for modules. If + algorithm as the interpreter uses when searching for modules. If the name cannot be matched according to the interpreter's rules, \code{None} is returned. \end{funcdesc} diff --git a/Doc/lib/libregex.tex b/Doc/lib/libregex.tex index 93c389a..0982f81 100644 --- a/Doc/lib/libregex.tex +++ b/Doc/lib/libregex.tex @@ -44,7 +44,7 @@ regular expression represented as a string literal, you have to E.g.\ to extract \LaTeX\ \samp{\e section\{\textrm{\ldots}\}} headers from a document, you can use this pattern: \code{'[\e ]section\{\e (.*\e )\}'}. \emph{Another exception:} -the escape sequece \samp{\e b} is significant in string literals +the escape sequence \samp{\e b} is significant in string literals (where it means the ASCII bell character) as well as in Emacs regular expressions (where it stands for a word boundary), so in order to search for a word boundary, you should use the pattern \code{'\e \e b'}. diff --git a/Doc/lib/liburllib2.tex b/Doc/lib/liburllib2.tex index ae25e53..2399645 100644 --- a/Doc/lib/liburllib2.tex +++ b/Doc/lib/liburllib2.tex @@ -496,7 +496,7 @@ These methods are available on \class{HTTPPasswordMgr} and \class{HTTPPasswordMgrWithDefaultRealm} objects. \begin{methoddesc}[HTTPPasswordMgr]{add_password}{realm, uri, user, passwd} -\var{uri} can be either a single URI, or a sequene of URIs. \var{realm}, +\var{uri} can be either a single URI, or a sequence of URIs. \var{realm}, \var{user} and \var{passwd} must be strings. This causes \code{(\var{user}, \var{passwd})} to be used as authentication tokens when authentication for \var{realm} and a super-URI of any of the diff --git a/Doc/lib/libxmlrpclib.tex b/Doc/lib/libxmlrpclib.tex index a285c16..957a25b 100644 --- a/Doc/lib/libxmlrpclib.tex +++ b/Doc/lib/libxmlrpclib.tex @@ -190,7 +190,7 @@ It also supports certain of Python's built-in operators through \subsection{Binary Objects \label{binary-objects}} This class may initialized from string data (which may include NULs). -The primary acess to the content of a \class{Binary} object is +The primary access to the content of a \class{Binary} object is provided by an attribute: \begin{memberdesc}[Binary]{data} diff --git a/Doc/lib/xmlsaxutils.tex b/Doc/lib/xmlsaxutils.tex index b4c98ff..64221f5 100644 --- a/Doc/lib/xmlsaxutils.tex +++ b/Doc/lib/xmlsaxutils.tex @@ -41,7 +41,7 @@ either in direct use, or as base classes. content of \var{data}, attempting to avoid encoding any quote characters in the string. If both single- and double-quote characters are already in \var{data}, the double-quote characters - will be encoded and \var{data} will be wrapped in doule-quotes. The + will be encoded and \var{data} will be wrapped in double-quotes. The resulting string can be used directly as an attribute value: \begin{verbatim} |