]> granicus.if.org Git - python/commitdiff
Mention the xmlrpclib.Error base class, which is used in one of the examples
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 27 Apr 2006 12:42:54 +0000 (12:42 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 27 Apr 2006 12:42:54 +0000 (12:42 +0000)
Doc/lib/libxmlrpclib.tex

index a85244841b853c3e2bd22df52e588aef80c33193..3645b824d8641c1323ade0d0b93230e301787b22 100644 (file)
@@ -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