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
This commit is contained in:
Jürgen Gmach 2021-03-26 22:09:09 +01:00 committed by GitHub
parent 1899087b21
commit 027b669927
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -378,7 +378,7 @@ Fault Objects
.. attribute:: faultCode
A string indicating the fault type.
An int indicating the fault type.
.. attribute:: faultString

View file

@ -0,0 +1 @@
Fix type documentation for ``Fault.faultCode``; the type has to be ``int`` instead of ``str``.