Skip to content

Commit ed81baf

Browse files
authored
gh-140458: xmlrpc.client raises Fault, does not returns it. (GH-140759)
1 parent 4ceb077 commit ed81baf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/xmlrpc.client.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ ServerProxy Objects
179179
A :class:`ServerProxy` instance has a method corresponding to each remote
180180
procedure call accepted by the XML-RPC server. Calling the method performs an
181181
RPC, dispatched by both name and argument signature (e.g. the same method name
182-
can be overloaded with multiple argument signatures). The RPC finishes by
183-
returning a value, which may be either returned data in a conformant type or a
184-
:class:`Fault` or :class:`ProtocolError` object indicating an error.
182+
can be overloaded with multiple argument signatures). The RPC finishes either
183+
by returning data in a conformant type or by raising a :class:`Fault` or
184+
:class:`ProtocolError` exception indicating an error.
185185

186186
Servers that support the XML introspection API support some common methods
187187
grouped under the reserved :attr:`~ServerProxy.system` attribute:

0 commit comments

Comments
 (0)