@@ -42,8 +42,8 @@ between conformable Python objects and XML on the wire.
4242 remote XML-RPC server. The required first argument is a URI (Uniform Resource
4343 Indicator), and will normally be the URL of the server. The optional second
4444 argument is a transport factory instance; by default it is an internal
45- :class: `SafeTransport ` instance for https: URLs and an internal HTTP
46- :class: `Transport ` instance otherwise. The optional third argument is an
45+ :class: `! SafeTransport ` instance for https: URLs and an internal HTTP
46+ :class: `! Transport ` instance otherwise. The optional third argument is an
4747 encoding, by default UTF-8. The optional fourth argument is a debugging flag.
4848
4949 The following parameters govern the use of the returned proxy instance.
@@ -145,7 +145,7 @@ between conformable Python objects and XML on the wire.
145145 via XML-RPC, use :class: `bytes ` or :class: `bytearray ` classes or the
146146 :class: `Binary ` wrapper class described below.
147147
148- :class: `Server ` is retained as an alias for :class: `ServerProxy ` for backwards
148+ :class: `! Server ` is retained as an alias for :class: `ServerProxy ` for backwards
149149 compatibility. New code should use :class: `ServerProxy `.
150150
151151 .. versionchanged :: 3.5
@@ -184,7 +184,7 @@ returning a value, which may be either returned data in a conformant type or a
184184:class: `Fault ` or :class: `ProtocolError ` object indicating an error.
185185
186186Servers that support the XML introspection API support some common methods
187- grouped under the reserved :attr: `~ServerProxy. system ` attribute:
187+ grouped under the reserved :attr: `! system ` attribute:
188188
189189
190190.. method :: ServerProxy.system.listMethods()
@@ -362,6 +362,23 @@ The client gets the image and saves it to a file::
362362 with open("fetched_python_logo.jpg", "wb") as handle:
363363 handle.write(proxy.python_logo().data)
364364
365+ .. _error-objects :
366+
367+ Error objects
368+ -------------
369+
370+ .. exception :: Error
371+
372+ Base class of the :exc: `Fault `, :exc: `ProtocolError ` and
373+ :exc: `ResponseError ` exceptions.
374+
375+
376+ .. exception :: ResponseError
377+
378+ Raised when an XML-RPC response is malformed and cannot be unmarshalled,
379+ for example when it contains an unsupported type tag.
380+
381+
365382.. _fault-objects :
366383
367384Fault Objects
0 commit comments