Skip to content

Commit cdd3984

Browse files
gh-93183: Adjust wording in socket docs (#93832)
package => packet Co-authored-by: Victor Norman
1 parent 4f26963 commit cdd3984

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/socket.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -2076,10 +2076,10 @@ the interface::
20762076
# Include IP headers
20772077
s.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1)
20782078

2079-
# receive all packages
2079+
# receive all packets
20802080
s.ioctl(socket.SIO_RCVALL, socket.RCVALL_ON)
20812081

2082-
# receive a package
2082+
# receive a packet
20832083
print(s.recvfrom(65565))
20842084

20852085
# disabled promiscuous mode

0 commit comments

Comments
 (0)