]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 5 Aug 2020 21:43:16 +0000 (14:43 -0700)
committerGitHub <noreply@github.com>
Wed, 5 Aug 2020 21:43:16 +0000 (14:43 -0700)
(cherry picked from commit 52f98424a55e14f05dfa7483cc0faf634a61c9ff)

Co-authored-by: Eric L. Frederich <eric.frederich@gmail.com>
Lib/ipaddress.py

index a3a04f7f4b309206e09f1d774396d5764e6d78b1..1014eba551719054ef66bd2b0d26a0a95ff04a4b 100644 (file)
@@ -1416,7 +1416,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'