Skip to content

Commit 5a0b8e1

Browse files
author
Matthieu Lienart
committed
make use of note and caution markers
1 parent 9bae029 commit 5a0b8e1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Doc/library/ipaddress.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,13 @@ write code that handles both IP versions correctly. Address objects are
243243
``True`` if the address is noted as reserved by the IETF.
244244
For IPv4, this is only ``240.0.0.0/4``, the ``Reserved`` address block.
245245
For IPv6, this is all addresses `allocated <iana-ipv6-address-space_>`__ as
246-
``Reserved by IETF`` for future use, except ``fec0::/10`` a former Site-Local scoped
247-
address prefix (see :attr:`~IPv6Address.is_site_local`).
246+
``Reserved by IETF`` for future use.
248247

249-
Note: ``is_reserved`` is not related to the IPv4 address block value of the
250-
``Reserved-by-Protocol`` column in iana-ipv4-special-registry_.
248+
.. note:: For IPv4, ``is_reserved`` is not related to the address block value of the
249+
``Reserved-by-Protocol`` column in iana-ipv4-special-registry_.
250+
251+
.. caution:: For IPv6, ``fec0::/10`` a former Site-Local scoped address prefix is
252+
currently excluded from that list (see :attr:`~IPv6Address.is_site_local`).
251253

252254
.. attribute:: is_loopback
253255

0 commit comments

Comments
 (0)