mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
[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 b26286ca49
)
Co-authored-by: Yuki Kobayashi <drsuaimqjgar@gmail.com>
This commit is contained in:
parent
00cf2a621a
commit
57dcbfd7da
1 changed files with 3 additions and 3 deletions
|
@ -61,6 +61,8 @@ between conformable Python objects and XML on the wire.
|
||||||
The *headers* parameter is an optional sequence of HTTP headers to send with
|
The *headers* parameter is an optional sequence of HTTP headers to send with
|
||||||
each request, expressed as a sequence of 2-tuples representing the header
|
each request, expressed as a sequence of 2-tuples representing the header
|
||||||
name and value. (e.g. ``[('Header-Name', 'value')]``).
|
name and value. (e.g. ``[('Header-Name', 'value')]``).
|
||||||
|
If an HTTPS URL is provided, *context* may be :class:`ssl.SSLContext`
|
||||||
|
and configures the SSL settings of the underlying HTTPS connection.
|
||||||
The obsolete *use_datetime* flag is similar to *use_builtin_types* but it
|
The obsolete *use_datetime* flag is similar to *use_builtin_types* but it
|
||||||
applies only to date/time values.
|
applies only to date/time values.
|
||||||
|
|
||||||
|
@ -75,9 +77,7 @@ between conformable Python objects and XML on the wire.
|
||||||
portion will be base64-encoded as an HTTP 'Authorization' header, and sent to
|
portion will be base64-encoded as an HTTP 'Authorization' header, and sent to
|
||||||
the remote server as part of the connection process when invoking an XML-RPC
|
the remote server as part of the connection process when invoking an XML-RPC
|
||||||
method. You only need to use this if the remote server requires a Basic
|
method. You only need to use this if the remote server requires a Basic
|
||||||
Authentication user and password. If an HTTPS URL is provided, *context* may
|
Authentication user and password.
|
||||||
be :class:`ssl.SSLContext` and configures the SSL settings of the underlying
|
|
||||||
HTTPS connection.
|
|
||||||
|
|
||||||
The returned instance is a proxy object with methods that can be used to invoke
|
The returned instance is a proxy object with methods that can be used to invoke
|
||||||
corresponding RPC calls on the remote server. If the remote server supports the
|
corresponding RPC calls on the remote server. If the remote server supports the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue