Skip to content

Commit cde0dad

Browse files
gh-93183: Adjust wording in socket docs (GH-93832)
package => packet Co-authored-by: Victor Norman (cherry picked from commit cdd3984) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
1 parent 7db66d8 commit cde0dad

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
@@ -2028,10 +2028,10 @@ the interface::
20282028
# Include IP headers
20292029
s.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1)
20302030

2031-
# receive all packages
2031+
# receive all packets
20322032
s.ioctl(socket.SIO_RCVALL, socket.RCVALL_ON)
20332033

2034-
# receive a package
2034+
# receive a packet
20352035
print(s.recvfrom(65565))
20362036

20372037
# disabled promiscuous mode

0 commit comments

Comments
 (0)