diff options
-rw-r--r-- | Doc/lib/libbase64.tex | 2 | ||||
-rw-r--r-- | Doc/lib/libpickle.tex | 2 | ||||
-rw-r--r-- | Doc/lib/libxmlrpclib.tex | 4 | ||||
-rw-r--r-- | Doc/ref/ref6.tex | 11 |
4 files changed, 10 insertions, 9 deletions
diff --git a/Doc/lib/libbase64.tex b/Doc/lib/libbase64.tex index b51f8c8..747d837 100644 --- a/Doc/lib/libbase64.tex +++ b/Doc/lib/libbase64.tex @@ -12,7 +12,7 @@ This module provides data encoding and decoding as specified in \rfc{3548}. This standard defines the Base16, Base32, and Base64 algorithms for encoding and decoding arbitrary binary strings into text strings that can be safely sent by email, used as parts of URLs, -or included as part of an HTTP POST request. The encoding algorith is +or included as part of an HTTP POST request. The encoding algorithm is not the same as the \program{uuencode} program. There are two interfaces provided by this module. The modern diff --git a/Doc/lib/libpickle.tex b/Doc/lib/libpickle.tex index 4013432..cf526a0 100644 --- a/Doc/lib/libpickle.tex +++ b/Doc/lib/libpickle.tex @@ -825,7 +825,7 @@ data streams.} There are additional minor differences in API between \module{cPickle} and \module{pickle}, however for most applications, they are -interchangable. More documentation is provided in the +interchangeable. More documentation is provided in the \module{pickle} module documentation, which includes a list of the documented differences. diff --git a/Doc/lib/libxmlrpclib.tex b/Doc/lib/libxmlrpclib.tex index 207839e..298a03d 100644 --- a/Doc/lib/libxmlrpclib.tex +++ b/Doc/lib/libxmlrpclib.tex @@ -184,7 +184,7 @@ Write the XML-RPC encoding of this DateTime item to the out stream object. \end{methoddesc} It also supports certain of Python's built-in operators through -\method{_cmp__} and \method{__repr__} methods. +\method{__cmp__} and \method{__repr__} methods. \subsection{Binary Objects \label{binary-objects}} @@ -211,7 +211,7 @@ stream object. \end{methoddesc} It also supports certain of Python's built-in operators through a -\method{_cmp__()} method. +\method{__cmp__()} method. \subsection{Fault Objects \label{fault-objects}} diff --git a/Doc/ref/ref6.tex b/Doc/ref/ref6.tex index 153ddf7..8a2a665 100644 --- a/Doc/ref/ref6.tex +++ b/Doc/ref/ref6.tex @@ -84,11 +84,12 @@ if __debug__: These equivalences assume that \code{__debug__}\ttindex{__debug__} and \exception{AssertionError}\exindex{AssertionError} refer to the built-in variables with those names. In the current implementation, the -built-in variable \code{__debug__} is 1 under normal circumstances, 0 -when optimization is requested (command line option -O). The current -code generator emits no code for an assert statement when optimization -is requested at compile time. Note that it is unnecessary to include -the source code for the expression that failed in the error message; +built-in variable \code{__debug__} is \code{True} under normal +circumstances, \code{False} when optimization is requested (command line +option -O). The current code generator emits no code for an assert +statement when optimization is requested at compile time. Note that it +is unnecessary to include the source code for the expression that failed +in the error message; it will be displayed as part of the stack trace. Assignments to \code{__debug__} are illegal. The value for the |