Skip to content

Commit f8d797f

Browse files
author
David Groves
committed
Docs updated on first and last addresses
1 parent 5995cad commit f8d797f

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

Doc/library/ipaddress.rst

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,11 @@ dictionaries.
548548
These attributes are true for the network as a whole if they are true
549549
for both the network address and the broadcast address.
550550

551+
.. attribute:: first_address
552+
553+
The first address in the network, the one with all the host bits cleared.
554+
This is the same as the network_address for IPv4 networks.
555+
551556
.. attribute:: network_address
552557

553558
The network address for the network. The network address and the
@@ -761,8 +766,21 @@ dictionaries.
761766
.. attribute:: is_reserved
762767
.. attribute:: is_loopback
763768
.. attribute:: is_link_local
764-
.. attribute:: network_address
769+
.. attribute:: first_address
770+
771+
The first address in the network, the one with all the host bits cleared.
772+
This is the same as the subnet_router_anycast_address for IPv6 networks.
773+
774+
.. attribute:: subnet_router_anycast_address
775+
776+
The Subnet-Router anycast address for the network, which is the first address
777+
in the network.
778+
765779
.. attribute:: last_address
780+
781+
The last address in the network, the one with all the host bits set.
782+
This has no special meaning for IPv6 networks.
783+
766784
.. attribute:: hostmask
767785
.. attribute:: netmask
768786
.. attribute:: with_prefixlen

0 commit comments

Comments
 (0)