Skip to content

Commit 39e4d86

Browse files
author
David Groves
committed
Updated docs to remove broadcast_address from IPv6Network and add
last_address to both IPv4Network and IPv6Network.
1 parent aa6e33f commit 39e4d86

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Doc/library/ipaddress.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,11 @@ dictionaries.
553553
The network address for the network. The network address and the
554554
prefix length together uniquely define a network.
555555

556+
.. attribute:: last_address
557+
558+
The last address in the network, the address with all the host bits set.
559+
This is the same as the broadcast_address for IPv4 networks.
560+
556561
.. attribute:: broadcast_address
557562

558563
The broadcast address for the network. Packets sent to the broadcast
@@ -757,7 +762,7 @@ dictionaries.
757762
.. attribute:: is_loopback
758763
.. attribute:: is_link_local
759764
.. attribute:: network_address
760-
.. attribute:: broadcast_address
765+
.. attribute:: last_address
761766
.. attribute:: hostmask
762767
.. attribute:: netmask
763768
.. attribute:: with_prefixlen

0 commit comments

Comments
 (0)