mirror of
https://github.com/python/cpython.git
synced 2024-11-27 03:45:08 +08:00
Fix version directive indents (#117719)
This commit is contained in:
parent
245e426b55
commit
94e9c35cd0
@ -1517,7 +1517,7 @@ are also included in the pure Python version for compatibility.
|
||||
the C version uses a thread-local rather than a coroutine-local context and the value
|
||||
is ``False``. This is slightly faster in some nested context scenarios.
|
||||
|
||||
.. versionadded:: 3.8.3
|
||||
.. versionadded:: 3.8.3
|
||||
|
||||
|
||||
Rounding modes
|
||||
|
@ -334,14 +334,14 @@ write code that handles both IP versions correctly. Address objects are
|
||||
.. attribute:: is_multicast
|
||||
.. attribute:: is_private
|
||||
.. attribute:: is_global
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
.. attribute:: is_unspecified
|
||||
.. attribute:: is_reserved
|
||||
.. attribute:: is_loopback
|
||||
.. attribute:: is_link_local
|
||||
|
||||
.. versionadded:: 3.4
|
||||
is_global
|
||||
|
||||
.. attribute:: is_site_local
|
||||
|
||||
``True`` if the address is reserved for site-local usage. Note that
|
||||
|
@ -1820,7 +1820,7 @@ to speed up repeated connections from the same clients.
|
||||
.. versionchanged:: 3.6
|
||||
*session* argument was added.
|
||||
|
||||
.. versionchanged:: 3.7
|
||||
.. versionchanged:: 3.7
|
||||
The method returns an instance of :attr:`SSLContext.sslsocket_class`
|
||||
instead of hard-coded :class:`SSLSocket`.
|
||||
|
||||
|
@ -113,9 +113,9 @@ The :mod:`urllib.request` module defines the following functions:
|
||||
``http/1.1`` when no *context* is given. Custom *context* should set
|
||||
ALPN protocols with :meth:`~ssl.SSLContext.set_alpn_protocols`.
|
||||
|
||||
.. versionchanged:: 3.13
|
||||
Remove *cafile*, *capath* and *cadefault* parameters: use the *context*
|
||||
parameter instead.
|
||||
.. versionchanged:: 3.13
|
||||
Remove *cafile*, *capath* and *cadefault* parameters: use the *context*
|
||||
parameter instead.
|
||||
|
||||
|
||||
.. function:: install_opener(opener)
|
||||
|
Loading…
Reference in New Issue
Block a user