summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>2024-04-12 10:30:42 (GMT)
committerGitHub <noreply@github.com>2024-04-12 10:30:42 (GMT)
commit94e9c35cd0f2898693bb96eb1579fe0329648fa2 (patch)
tree48520b3ebf2e7182ac7cf075205607ae537003f3
parent245e426b55fe6c49140863c352f2a2be11c70fbe (diff)
downloadcpython-94e9c35cd0f2898693bb96eb1579fe0329648fa2.zip
cpython-94e9c35cd0f2898693bb96eb1579fe0329648fa2.tar.gz
cpython-94e9c35cd0f2898693bb96eb1579fe0329648fa2.tar.bz2
Fix version directive indents (#117719)
-rw-r--r--Doc/library/decimal.rst2
-rw-r--r--Doc/library/ipaddress.rst6
-rw-r--r--Doc/library/ssl.rst2
-rw-r--r--Doc/library/urllib.request.rst6
4 files changed, 8 insertions, 8 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index 8c671bf..3c51dbc 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -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
diff --git a/Doc/library/ipaddress.rst b/Doc/library/ipaddress.rst
index 8f090b5..a4073a4 100644
--- a/Doc/library/ipaddress.rst
+++ b/Doc/library/ipaddress.rst
@@ -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
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 3564855..a904362 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -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`.
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index 1a17c9c..c1e60a4 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -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)