]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-140458: `xmlrpc.client` raises Fault, does not returns it. (GH-140759)
authorYongzi Li <204532581+Yzi-Li@users.noreply.github.com>
Sat, 15 Nov 2025 16:14:23 +0000 (00:14 +0800)
committerGitHub <noreply@github.com>
Sat, 15 Nov 2025 16:14:23 +0000 (17:14 +0100)
Doc/library/xmlrpc.client.rst

index a21c7d3e4e3ad52fc896e97b266e936175022bf2..e4912629aac6e0e02ac7b97315cad74a71623f47 100644 (file)
@@ -179,9 +179,9 @@ ServerProxy Objects
 A :class:`ServerProxy` instance has a method corresponding to each remote
 procedure call accepted by the XML-RPC server.  Calling the method performs an
 RPC, dispatched by both name and argument signature (e.g. the same method name
-can be overloaded with multiple argument signatures).  The RPC finishes by
-returning a value, which may be either returned data in a conformant type or a
-:class:`Fault` or :class:`ProtocolError` object indicating an error.
+can be overloaded with multiple argument signatures).  The RPC finishes either
+by returning data in a conformant type or by raising a :class:`Fault` or
+:class:`ProtocolError` exception indicating an error.
 
 Servers that support the XML introspection API support some common methods
 grouped under the reserved :attr:`~ServerProxy.system` attribute: