mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
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:
parent
1899087b21
commit
027b669927
2 changed files with 2 additions and 1 deletions
|
|
@ -378,7 +378,7 @@ Fault Objects
|
|||
|
||||
.. attribute:: faultCode
|
||||
|
||||
A string indicating the fault type.
|
||||
An int indicating the fault type.
|
||||
|
||||
|
||||
.. attribute:: faultString
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
Fix type documentation for ``Fault.faultCode``; the type has to be ``int`` instead of ``str``.
|
||||
Loading…
Add table
Add a link
Reference in a new issue