diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-08-05 21:43:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-05 21:43:16 (GMT) |
commit | b5789a7419655f66692fab463320048bd2290e81 (patch) | |
tree | 185d1b343d87a5415b6f5d1cc6a8e3757b816196 | |
parent | b24c9d2b0656764bef48120d9511faf833bd7ead (diff) | |
download | cpython-b5789a7419655f66692fab463320048bd2290e81.zip cpython-b5789a7419655f66692fab463320048bd2290e81.tar.gz cpython-b5789a7419655f66692fab463320048bd2290e81.tar.bz2 |
bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736)
(cherry picked from commit 52f98424a55e14f05dfa7483cc0faf634a61c9ff)
Co-authored-by: Eric L. Frederich <eric.frederich@gmail.com>
-rw-r--r-- | Lib/ipaddress.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ipaddress.py b/Lib/ipaddress.py index a3a04f7..1014eba 100644 --- a/Lib/ipaddress.py +++ b/Lib/ipaddress.py @@ -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' |