]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736)
authorEric L. Frederich <eric.frederich@gmail.com>
Wed, 5 Aug 2020 18:44:53 +0000 (14:44 -0400)
committerGitHub <noreply@github.com>
Wed, 5 Aug 2020 18:44:53 +0000 (14:44 -0400)
Lib/ipaddress.py

index 75b4c352c1d257a29345d6622f9d33411d231ad9..bc662c415b2a49f0f4066b1fd6e76d59934c9129 100644 (file)
@@ -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'