@@ -39,8 +39,8 @@ between conformable Python objects and XML on the wire.
3939 remote XML-RPC server. The required first argument is a URI (Uniform Resource
4040 Indicator), and will normally be the URL of the server. The optional second
4141 argument is a transport factory instance; by default it is an internal
42- :class: `SafeTransport ` instance for https: URLs and an internal HTTP
43- :class: `Transport ` instance otherwise. The optional third argument is an
42+ :class: `! SafeTransport ` instance for https: URLs and an internal HTTP
43+ :class: `! Transport ` instance otherwise. The optional third argument is an
4444 encoding, by default UTF-8. The optional fourth argument is a debugging flag.
4545
4646 The following parameters govern the use of the returned proxy instance.
@@ -142,7 +142,7 @@ between conformable Python objects and XML on the wire.
142142 via XML-RPC, use :class: `bytes ` or :class: `bytearray ` classes or the
143143 :class: `Binary ` wrapper class described below.
144144
145- :class: `Server ` is retained as an alias for :class: `ServerProxy ` for backwards
145+ :class: `! Server ` is retained as an alias for :class: `ServerProxy ` for backwards
146146 compatibility. New code should use :class: `ServerProxy `.
147147
148148 .. versionchanged :: 3.5
@@ -181,7 +181,7 @@ by returning data in a conformant type or by raising a :class:`Fault` or
181181:class: `ProtocolError ` exception indicating an error.
182182
183183Servers that support the XML introspection API support some common methods
184- grouped under the reserved :attr: `~ServerProxy. system ` attribute:
184+ grouped under the reserved :attr: `! system ` attribute:
185185
186186
187187.. method :: ServerProxy.system.listMethods()
@@ -359,6 +359,23 @@ The client gets the image and saves it to a file::
359359 with open("fetched_python_logo.jpg", "wb") as handle:
360360 handle.write(proxy.python_logo().data)
361361
362+ .. _error-objects :
363+
364+ Error objects
365+ -------------
366+
367+ .. exception :: Error
368+
369+ Base class of the :exc: `Fault `, :exc: `ProtocolError ` and
370+ :exc: `ResponseError ` exceptions.
371+
372+
373+ .. exception :: ResponseError
374+
375+ Raised when an XML-RPC response is malformed and cannot be unmarshalled,
376+ for example when it contains an unsupported type tag.
377+
378+
362379.. _fault-objects :
363380
364381Fault Objects
0 commit comments