summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/xmlrpc.client.rst2
-rw-r--r--Misc/NEWS.d/next/Documentation/2021-03-02-12-55-34.bpo-43354.ezZYkx.rst1
2 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/xmlrpc.client.rst b/Doc/library/xmlrpc.client.rst
index 3240381..51279b3 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 0000000..1a8743c
--- /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