From: Andrew M. Kuchling Date: Thu, 27 Apr 2006 12:42:54 +0000 (+0000) Subject: Mention the xmlrpclib.Error base class, which is used in one of the examples X-Git-Tag: v2.5b1~792 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efd3a09fad6fdb83e31b5c9bf9904263450a5001;p=python Mention the xmlrpclib.Error base class, which is used in one of the examples --- diff --git a/Doc/lib/libxmlrpclib.tex b/Doc/lib/libxmlrpclib.tex index a85244841b..3645b824d8 100644 --- a/Doc/lib/libxmlrpclib.tex +++ b/Doc/lib/libxmlrpclib.tex @@ -81,9 +81,11 @@ Python type): This is the full set of data types supported by XML-RPC. Method calls may also raise a special \exception{Fault} instance, used to signal XML-RPC server errors, or \exception{ProtocolError} used to signal an -error in the HTTP/HTTPS transport layer. Note that even though starting -with Python 2.2 you can subclass builtin types, the xmlrpclib module -currently does not marshal instances of such subclasses. +error in the HTTP/HTTPS transport layer. Both \exception{Fault} and +\exception{ProtocolError} derive from a base class called +\exception{Error}. Note that even though starting with Python 2.2 you +can subclass builtin types, the xmlrpclib module currently does not +marshal instances of such subclasses. When passing strings, characters special to XML such as \samp{<}, \samp{>}, and \samp{\&} will be automatically escaped. However, it's