summaryrefslogtreecommitdiffstats
path: root/Doc/library/ipaddress.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-03-05 16:00:40 (GMT)
committerGitHub <noreply@github.com>2024-03-05 16:00:40 (GMT)
commit0f5cd44e1cdffa0b373e853943d50e721279754d (patch)
tree5bdaf7a8e725239ac1315a01cd93770375f16900 /Doc/library/ipaddress.rst
parent9a42cfa368e7cfb7d4e920798e0c3abdc24de301 (diff)
downloadcpython-0f5cd44e1cdffa0b373e853943d50e721279754d.zip
cpython-0f5cd44e1cdffa0b373e853943d50e721279754d.tar.gz
cpython-0f5cd44e1cdffa0b373e853943d50e721279754d.tar.bz2
[3.12] gh-115777: Fix double versionadded directives (GH-116269) (GH-116361)
(cherry picked from commit 0064dfa0919cc93257c351a609f99461f6e4e3ac) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Doc/library/ipaddress.rst')
-rw-r--r--Doc/library/ipaddress.rst12
1 files changed, 1 insertions, 11 deletions
diff --git a/Doc/library/ipaddress.rst b/Doc/library/ipaddress.rst
index 9c2dff5..03dc956 100644
--- a/Doc/library/ipaddress.rst
+++ b/Doc/library/ipaddress.rst
@@ -121,22 +121,12 @@ write code that handles both IP versions correctly. Address objects are
Leading zeros are tolerated, even in ambiguous cases that look like
octal notation.
- .. versionchanged:: 3.10
+ .. versionchanged:: 3.9.5
Leading zeros are no longer tolerated and are treated as an error.
IPv4 address strings are now parsed as strict as glibc
:func:`~socket.inet_pton`.
- .. versionchanged:: 3.9.5
-
- The above change was also included in Python 3.9 starting with
- version 3.9.5.
-
- .. versionchanged:: 3.8.12
-
- The above change was also included in Python 3.8 starting with
- version 3.8.12.
-
.. attribute:: version
The appropriate version number: ``4`` for IPv4, ``6`` for IPv6.