[Python-checkins] r45754 - python/trunk/Doc/lib/libxmlrpclib.tex
andrew.kuchling
python-checkins at python.org
Thu Apr 27 14:42:54 CEST 2006
Author: andrew.kuchling
Date: Thu Apr 27 14:42:54 2006
New Revision: 45754
Modified:
python/trunk/Doc/lib/libxmlrpclib.tex
Log:
Mention the xmlrpclib.Error base class, which is used in one of the examples
Modified: python/trunk/Doc/lib/libxmlrpclib.tex
==============================================================================
--- python/trunk/Doc/lib/libxmlrpclib.tex (original)
+++ python/trunk/Doc/lib/libxmlrpclib.tex Thu Apr 27 14:42:54 2006
@@ -81,9 +81,11 @@
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
More information about the Python-checkins
mailing list