Skip to content

Commit 095d09c

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 8b36ce6 commit 095d09c

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
@@ -1988,10 +1988,10 @@ the interface::
19881988
# Include IP headers
19891989
s.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1)
19901990

1991-
# receive all packages
1991+
# receive all packets
19921992
s.ioctl(socket.SIO_RCVALL, socket.RCVALL_ON)
19931993

1994-
# receive a package
1994+
# receive a packet
19951995
print(s.recvfrom(65565))
19961996

19971997
# disabled promiscuous mode

0 commit comments

Comments
 (0)