Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c15424

Browse files
committed
Closes #20253: Merge typo fix
2 parents 1bef5c6 + 9774ce0 commit 5c15424

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Doc/library/ipaddress.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ so to avoid duplication they are only documented for :class:`IPv4Network`.
414414
The broadcast address for the network. Packets sent to the broadcast
415415
address should be received by every host on the network.
416416

417-
.. attribute:: host mask
417+
.. attribute:: hostmask
418418

419419
The host mask, as a string.
420420

@@ -570,7 +570,7 @@ so to avoid duplication they are only documented for :class:`IPv4Network`.
570570
.. attribute:: is_link_local
571571
.. attribute:: network_address
572572
.. attribute:: broadcast_address
573-
.. attribute:: host mask
573+
.. attribute:: hostmask
574574
.. attribute:: with_prefixlen
575575
.. attribute:: compressed
576576
.. attribute:: exploded

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,9 @@ Build
475475
Documentation
476476
-------------
477477

478+
- Issue #20253: Fixed a typo in the ipaddress docs that advertised an
479+
illegal attribute name. Found by INADA Naoki.
480+
478481
- Issue #18840: Introduce the json module in the tutorial, and deemphasize
479482
the pickle module.
480483

0 commit comments

Comments
 (0)