Kaydet (Commit) efd3a09f authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Mention the xmlrpclib.Error base class, which is used in one of the examples

üst 356f938f
...@@ -81,9 +81,11 @@ Python type): ...@@ -81,9 +81,11 @@ Python type):
This is the full set of data types supported by XML-RPC. Method calls 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 may also raise a special \exception{Fault} instance, used to signal
XML-RPC server errors, or \exception{ProtocolError} used to signal an XML-RPC server errors, or \exception{ProtocolError} used to signal an
error in the HTTP/HTTPS transport layer. Note that even though starting error in the HTTP/HTTPS transport layer. Both \exception{Fault} and
with Python 2.2 you can subclass builtin types, the xmlrpclib module \exception{ProtocolError} derive from a base class called
currently does not marshal instances of such subclasses. \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{<}, When passing strings, characters special to XML such as \samp{<},
\samp{>}, and \samp{\&} will be automatically escaped. However, it's \samp{>}, and \samp{\&} will be automatically escaped. However, it's
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment