Skip to content

Commit 59630f9

Browse files
Docs: Add class role for IPV{4,6}Address and fix a typo (#118059)
Add class role for IPV{4,6}Address and fix a typo Co-authored-by: Kumar Aditya <[email protected]>
1 parent 041a566 commit 59630f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/ipaddress.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ dictionaries.
504504

505505
4. A two-tuple of an address description and a netmask, where the address
506506
description is either a string, a 32-bits integer, a 4-bytes packed
507-
integer, or an existing IPv4Address object; and the netmask is either
507+
integer, or an existing :class:`IPv4Address` object; and the netmask is either
508508
an integer representing the prefix length (e.g. ``24``) or a string
509509
representing the prefix mask (e.g. ``255.255.255.0``).
510510

@@ -725,7 +725,7 @@ dictionaries.
725725

726726
4. A two-tuple of an address description and a netmask, where the address
727727
description is either a string, a 128-bits integer, a 16-bytes packed
728-
integer, or an existing IPv6Address object; and the netmask is an
728+
integer, or an existing :class:`IPv6Address` object; and the netmask is an
729729
integer representing the prefix length.
730730

731731
An :exc:`AddressValueError` is raised if *address* is not a valid IPv6
@@ -781,7 +781,7 @@ dictionaries.
781781

782782
.. attribute:: is_site_local
783783

784-
These attribute is true for the network as a whole if it is true
784+
This attribute is true for the network as a whole if it is true
785785
for both the network address and the broadcast address.
786786

787787

0 commit comments

Comments
 (0)