summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2006-04-27 12:42:54 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2006-04-27 12:42:54 (GMT)
commitefd3a09fad6fdb83e31b5c9bf9904263450a5001 (patch)
treecfd4b4ed6979eaad86864b8ff48e399049bbfc6e
parent356f938f940f9abe6cf54344113d8a27e3ca4088 (diff)
downloadcpython-efd3a09fad6fdb83e31b5c9bf9904263450a5001.zip
cpython-efd3a09fad6fdb83e31b5c9bf9904263450a5001.tar.gz
cpython-efd3a09fad6fdb83e31b5c9bf9904263450a5001.tar.bz2
Mention the xmlrpclib.Error base class, which is used in one of the examples
-rw-r--r--Doc/lib/libxmlrpclib.tex8
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/lib/libxmlrpclib.tex b/Doc/lib/libxmlrpclib.tex
index a852448..3645b82 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