From: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com> Date: Sat, 15 Nov 2025 16:14:23 +0000 (+0800) Subject: gh-140458: `xmlrpc.client` raises Fault, does not returns it. (GH-140759) X-Git-Tag: v3.15.0a2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed81baf81f144e14510c492b71cf860472b0a0b7;p=thirdparty%2FPython%2Fcpython.git gh-140458: `xmlrpc.client` raises Fault, does not returns it. (GH-140759) --- diff --git a/Doc/library/xmlrpc.client.rst b/Doc/library/xmlrpc.client.rst index a21c7d3e4e3a..e4912629aac6 100644 --- a/Doc/library/xmlrpc.client.rst +++ b/Doc/library/xmlrpc.client.rst @@ -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: