From: Jürgen Gmach Date: Fri, 26 Mar 2021 21:09:09 +0000 (+0100) Subject: bpo-43354: xmlrpc: Fix type documentation for Fault.faultCode (GH-24707) X-Git-Tag: v3.10.0a7~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=027b6699276ed8d9f68425697ac89bf61e54e6b9;p=thirdparty%2FPython%2Fcpython.git bpo-43354: xmlrpc: Fix type documentation for Fault.faultCode (GH-24707) The type of `faultCode` has to be an `int` instead of a `str`. cf http://xmlrpc.com/spec.md Pinging @pganssle --- diff --git a/Doc/library/xmlrpc.client.rst b/Doc/library/xmlrpc.client.rst index 32403819531a..51279b35fd71 100644 --- a/Doc/library/xmlrpc.client.rst +++ b/Doc/library/xmlrpc.client.rst @@ -378,7 +378,7 @@ Fault Objects .. attribute:: faultCode - A string indicating the fault type. + An int indicating the fault type. .. attribute:: faultString diff --git a/Misc/NEWS.d/next/Documentation/2021-03-02-12-55-34.bpo-43354.ezZYkx.rst b/Misc/NEWS.d/next/Documentation/2021-03-02-12-55-34.bpo-43354.ezZYkx.rst new file mode 100644 index 000000000000..1a8743cbde61 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2021-03-02-12-55-34.bpo-43354.ezZYkx.rst @@ -0,0 +1 @@ +Fix type documentation for ``Fault.faultCode``; the type has to be ``int`` instead of ``str``. \ No newline at end of file