]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.8] bpo-36384: [doc] Correct typos in CVE-2021-29921 fix description (GH-27825)
authorŁukasz Langa <lukasz@langa.pl>
Thu, 19 Aug 2021 08:50:40 +0000 (10:50 +0200)
committerGitHub <noreply@github.com>
Thu, 19 Aug 2021 08:50:40 +0000 (10:50 +0200)
Doc/whatsnew/3.8.rst
Misc/NEWS.d/next/Security/2021-03-30-16-29-51.bpo-36384.sCAmLs.rst

index 7a3460adb3827f690ccacd0f4d29ff8ee04365aa..c27c968aa163022d60c23d25d782936b6044ec3e 100644 (file)
@@ -2317,7 +2317,7 @@ Changes in the Python API
 Starting with Python 3.8.12 the :mod:`ipaddress` module no longer accepts
 any leading zeros in IPv4 address strings. Leading zeros are ambiguous and
 interpreted as octal notation by some libraries. For example the legacy
-function :func:`socket.inet_aton` treats leading zeros as octal notatation.
+function :func:`socket.inet_aton` treats leading zeros as octal notation.
 glibc implementation of modern :func:`~socket.inet_pton` does not accept
 any leading zeros.
 
index f956cde948ec57d5e4fd2579e01ea441f1263c6e..6e2926ce1e1746d7a852946601717be08f25cf27 100644 (file)
@@ -1,6 +1,6 @@
 :mod:`ipaddress` module no longer accepts any leading zeros in IPv4 address
 strings. Leading zeros are ambiguous and interpreted as octal notation by
 some libraries. For example the legacy function :func:`socket.inet_aton`
-treats leading zeros as octal notatation. glibc implementation of modern
+treats leading zeros as octal notation. glibc implementation of modern
 :func:`~socket.inet_pton` does not accept any leading zeros. For a while
 the :mod:`ipaddress` module used to accept ambiguous leading zeros.