From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 5 Aug 2020 21:52:59 +0000 (-0700) Subject: bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736) X-Git-Tag: v3.9.0rc1~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b49b88a93a06b656d7f6a64d9d9e4828921d86eb;p=thirdparty%2FPython%2Fcpython.git bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736) (cherry picked from commit 52f98424a55e14f05dfa7483cc0faf634a61c9ff) Co-authored-by: Eric L. Frederich --- diff --git a/Lib/ipaddress.py b/Lib/ipaddress.py index 75b4c352c1d2..bc662c415b2a 100644 --- a/Lib/ipaddress.py +++ b/Lib/ipaddress.py @@ -1466,7 +1466,7 @@ class IPv4Network(_BaseV4, _BaseNetwork): address: A string or integer representing the IP [& network]. '192.0.2.0/24' '192.0.2.0/255.255.255.0' - '192.0.0.2/0.0.0.255' + '192.0.2.0/0.0.0.255' are all functionally the same in IPv4. Similarly, '192.0.2.1' '192.0.2.1/255.255.255.255'