Skip to content

Commit 0c23c09

Browse files
mlnrtAA-Turner
andauthored
Update Doc/library/ipaddress.rst
Co-authored-by: Adam Turner <[email protected]>
1 parent 256028e commit 0c23c09

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

Doc/library/ipaddress.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,16 @@ write code that handles both IP versions correctly. Address objects are
240240

241241
.. attribute:: is_reserved
242242

243-
``True`` if the address is *labelled* as reserved by the IETF:
243+
``True`` if the address is noted as reserved by the IETF.
244+
For IPv4, this is only ``240.0.0.0/4``, the "Reserved" address block.
245+
For IPv6, this is all addresses `allocated <iana-ipv6-address-space_>`__ as
246+
``Reserved by IETF`` for future use.
244247

245-
* IPv4 address ``240.0.0.0/4`` named ``Reserved``. This attribute is not related to the
246-
``Reserved-by-Protocol`` value in iana-ipv4-special-registry_
247-
* IPv6 addresses allocated as ``Reserved by IETF`` for future use (see iana-ipv6-address-space_)
248+
Note: ``is_reserved`` is not related to the "Reserved-by-Protocol" value.
249+
250+
.. seealso::
251+
252+
iana-ipv4-special-registry_
248253

249254
.. attribute:: is_loopback
250255

0 commit comments

Comments
 (0)