Skip to content

Commit 027b669

Browse files
authored
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
1 parent 1899087 commit 027b669

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Doc/library/xmlrpc.client.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ Fault Objects
378378

379379
.. attribute:: faultCode
380380

381-
A string indicating the fault type.
381+
An int indicating the fault type.
382382

383383

384384
.. attribute:: faultString
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix type documentation for ``Fault.faultCode``; the type has to be ``int`` instead of ``str``.

0 commit comments

Comments
 (0)