[Python-checkins] bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736)
Miss Islington (bot)
webhook-mailer at python.org
Wed Aug 5 17:43:21 EDT 2020
https://github.com/python/cpython/commit/b5789a7419655f66692fab463320048bd2290e81
commit: b5789a7419655f66692fab463320048bd2290e81
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-08-05T14:43:16-07:00
summary:
bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736)
(cherry picked from commit 52f98424a55e14f05dfa7483cc0faf634a61c9ff)
Co-authored-by: Eric L. Frederich <eric.frederich at gmail.com>
files:
M Lib/ipaddress.py
diff --git a/Lib/ipaddress.py b/Lib/ipaddress.py
index a3a04f7f4b309..1014eba551719 100644
--- a/Lib/ipaddress.py
+++ b/Lib/ipaddress.py
@@ -1416,7 +1416,7 @@ def __init__(self, address, strict=True):
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'
More information about the Python-checkins
mailing list