8000 [3.8] bpo-36384: [doc] Correct typos in CVE-2021-29921 fix descriptio… · python/cpython@6ebfe8d · GitHub
[go: up one dir, main page]

Skip to content

Commit 6ebfe8d

Browse files
authored
[3.8] bpo-36384: [doc] Correct typos in CVE-2021-29921 fix description (GH-27825)
1 parent 03dd89d commit 6ebfe8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/whatsnew/3.8.rst

Lines changed: 1 addition & 1 deletion
8000
Original file line numberDiff line numberDiff line change
@@ -2317,7 +2317,7 @@ Changes in the Python API
23172317
Starting with Python 3.8.12 the :mod:`ipaddress` module no longer accepts
23182318
any leading zeros in IPv4 address strings. Leading zeros are ambiguous and
23192319
interpreted as octal notation by some libraries. For example the legacy
2320-
function :func:`socket.inet_aton` treats leading zeros as octal notatation.
2320+
function :func:`socket.inet_aton` treats leading zeros as octal notation.
23212321
glibc implementation of modern :func:`~socket.inet_pton` does not accept
23222322
any leading zeros.
23232323

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:mod:`ipaddress` module no longer accepts any leading zeros in IPv4 address
22
strings. Leading zeros are ambiguous and interpreted as octal notation by
33
some libraries. For example the legacy function :func:`socket.inet_aton`
4-
treats leading zeros as octal notatation. glibc implementation of modern
4+
treats leading zeros as octal notation. glibc implementation of modern
55
:func:`~socket.inet_pton` does not accept any leading zeros. For a while
66
the :mod:`ipaddress` module used to accept ambiguous leading zeros.

0 commit comments

Comments
 (0)
0