Skip to content

Docs: Add class role for IPV{4,6}Address and fix a typo #118059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Doc/library/ipaddress.rst
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ dictionaries.

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

Expand Down Expand Up @@ -725,7 +725,7 @@ dictionaries.

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

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

.. attribute:: is_site_local

These attribute is true for the network as a whole if it is true
This attribute is true for the network as a whole if it is true
for both the network address and the broadcast address.


Expand Down
Loading