]> granicus.if.org Git - python/commitdiff
Issue #20253: Fixed a typo in the ipaddress docs that advertised an
authorZachary Ware <zachary.ware@gmail.com>
Tue, 14 Jan 2014 15:09:48 +0000 (09:09 -0600)
committerZachary Ware <zachary.ware@gmail.com>
Tue, 14 Jan 2014 15:09:48 +0000 (09:09 -0600)
illegal attribute name.  Found by INADA Naoki.

Doc/library/ipaddress.rst
Misc/NEWS

index 769af72769305b0697b5136710f38a7c690d4963..3a567fc434137b70948cc462ca0969d28d3605cd 100644 (file)
@@ -405,7 +405,7 @@ so to avoid duplication they are only documented for :class:`IPv4Network`.
       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 @@ so to avoid duplication they are only documented for :class:`IPv4Network`.
    .. attribute:: is_link_local
    .. attribute:: network_address
    .. attribute:: broadcast_address
-   .. attribute:: host mask
+   .. attribute:: hostmask
    .. attribute:: with_prefixlen
    .. attribute:: compressed
    .. attribute:: exploded
index eada6679578ce8be1ccb92f5d676b5b1eb31a605..d5d0274b95a50343af5fda9731673ee518adbba7 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -302,6 +302,9 @@ Tests
 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.