diff options
author | Eric L. Frederich <eric.frederich@gmail.com> | 2020-08-05 14:44:53 -0400 |
---|---|---|
committer | Eric V. Smith <eric@trueblade.com> | 2020-08-05 14:46:52 -0400 |
commit | dcb68568660975adc47e15ea8c6f61aede5e2317 (patch) | |
tree | d415475a1036251027c27d257234d73a9f8c6a28 | |
parent | a1320989f5350439e0677450f49b36f2c10583d2 (diff) | |
download | cpython-git-backport-52f9842-3.9.tar.gz |
[3.9] bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736)backport-52f9842-3.9
(cherry picked from commit 52f9842)
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 75b4c352c1..bc662c415b 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' |