summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorEric L. Frederich <eric.frederich@gmail.com>2020-08-05 18:44:53 (GMT)
committerGitHub <noreply@github.com>2020-08-05 18:44:53 (GMT)
commit52f98424a55e14f05dfa7483cc0faf634a61c9ff (patch)
tree93070d5e373c37c7b274999f6a668535eb669dc5 /Lib
parent15edaecd97a3f8e82895046462342d8ddd8b9f1b (diff)
downloadcpython-52f98424a55e14f05dfa7483cc0faf634a61c9ff.zip
cpython-52f98424a55e14f05dfa7483cc0faf634a61c9ff.tar.gz
cpython-52f98424a55e14f05dfa7483cc0faf634a61c9ff.tar.bz2
bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/ipaddress.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ipaddress.py b/Lib/ipaddress.py
index 75b4c35..bc662c4 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'