[Python-checkins] cpython (3.3): Issue #20253: Fixed a typo in the ipaddress docs that advertised an

zach.ware python-checkins at python.org
Tue Jan 14 16:10:59 CET 2014


http://hg.python.org/cpython/rev/4f8ad9a4193f
changeset: 88477:4f8ad9a4193f
branch: 3.3
parent: 88475:3be65ed4fbe8
user: Zachary Ware <zachary.ware at gmail.com>
date: Tue Jan 14 09:09:48 2014 -0600
summary:
 Issue #20253: Fixed a typo in the ipaddress docs that advertised an
illegal attribute name. Found by INADA Naoki.
files:
 Doc/library/ipaddress.rst | 4 ++--
 Misc/NEWS | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Doc/library/ipaddress.rst b/Doc/library/ipaddress.rst
--- a/Doc/library/ipaddress.rst
+++ b/Doc/library/ipaddress.rst
@@ -405,7 +405,7 @@
 The broadcast address for the network. Packets sent to the broadcast
 address should be received by every host on the network.
 
- .. attribute:: host mask
+ .. attribute:: hostmask
 
 The host mask, as a string.
 
@@ -561,7 +561,7 @@
 .. attribute:: is_link_local
 .. attribute:: network_address
 .. attribute:: broadcast_address
- .. attribute:: host mask
+ .. attribute:: hostmask
 .. attribute:: with_prefixlen
 .. attribute:: compressed
 .. attribute:: exploded
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -302,6 +302,9 @@
 Documentation
 -------------
 
+- Issue #20253: Fixed a typo in the ipaddress docs that advertised an
+ illegal attribute name. Found by INADA Naoki.
+
 - Issue #19963: Document that importlib.import_module() no longer requires
 importing parent packages separately.
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /