diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-03-05 16:00:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-05 16:00:40 (GMT) |
commit | 0f5cd44e1cdffa0b373e853943d50e721279754d (patch) | |
tree | 5bdaf7a8e725239ac1315a01cd93770375f16900 /Doc/library/ipaddress.rst | |
parent | 9a42cfa368e7cfb7d4e920798e0c3abdc24de301 (diff) | |
download | cpython-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.rst | 12 |
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. |