Skip to content

Commit e33add4

Browse files
gh-92658: Fix typo in docs and tests for HV_GUID_PARENT (GH-105267)
(cherry picked from commit 3907de1) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
1 parent 6fe0a6b commit e33add4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/library/socket.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ Constants
666666
HV_GUID_BROADCAST
667667
HV_GUID_CHILDREN
668668
HV_GUID_LOOPBACK
669-
HV_GUID_LOOPBACK
669+
HV_GUID_PARENT
670670

671671
Constants for Windows Hyper-V sockets for host/guest communications.
672672

Lib/test/test_socket.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2566,7 +2566,7 @@ def testHyperVConstants(self):
25662566
socket.HV_GUID_BROADCAST
25672567
socket.HV_GUID_CHILDREN
25682568
socket.HV_GUID_LOOPBACK
2569-
socket.HV_GUID_LOOPBACK
2569+
socket.HV_GUID_PARENT
25702570

25712571
def testCreateHyperVSocketWithUnknownProtoFailure(self):
25722572
expected = r"\[WinError 10041\]"

0 commit comments

Comments
 (0)