Skip to content

Commit 57dcbfd

Browse files
[3.13] Docs: Fix a misplaced statement in the document for ServerProxy (GH-130616) (GH-130640)
Docs: Fix a misplaced statement in the document for `ServerProxy` (GH-130616) The sentence "If an HTTPS URL ..." explains what the parameter means, so moved it to the paragraph explaining what the other parameters mean. (cherry picked from commit b26286c) Co-authored-by: Yuki Kobayashi <[email protected]>
1 parent 00cf2a6 commit 57dcbfd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/xmlrpc.client.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ between conformable Python objects and XML on the wire.
6161
The *headers* parameter is an optional sequence of HTTP headers to send with
6262
each request, expressed as a sequence of 2-tuples representing the header
6363
name and value. (e.g. ``[('Header-Name', 'value')]``).
64+
If an HTTPS URL is provided, *context* may be :class:`ssl.SSLContext`
65+
and configures the SSL settings of the underlying HTTPS connection.
6466
The obsolete *use_datetime* flag is similar to *use_builtin_types* but it
6567
applies only to date/time values.
6668

@@ -75,9 +77,7 @@ between conformable Python objects and XML on the wire.
7577
portion will be base64-encoded as an HTTP 'Authorization' header, and sent to
7678
the remote server as part of the connection process when invoking an XML-RPC
7779
method. You only need to use this if the remote server requires a Basic
78-
Authentication user and password. If an HTTPS URL is provided, *context* may
79-
be :class:`ssl.SSLContext` and configures the SSL settings of the underlying
80-
HTTPS connection.
80+
Authentication user and password.
8181

8282
The returned instance is a proxy object with methods that can be used to invoke
8383
corresponding RPC calls on the remote server. If the remote server supports the

0 commit comments

Comments
 (0)