Skip to content

Commit

Permalink
gh-93183: Adjust wording in socket docs (GH-93832)
Browse files Browse the repository at this point in the history
package => packet

Co-authored-by: Victor Norman
(cherry picked from commit cdd3984)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
  • Loading branch information
miss-islington and erlend-aasland authored Jun 15, 2022
1 parent 8b36ce6 commit 095d09c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/socket.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1988,10 +1988,10 @@ the interface::
# Include IP headers
s.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1)

# receive all packages
# receive all packets
s.ioctl(socket.SIO_RCVALL, socket.RCVALL_ON)

# receive a package
# receive a packet
print(s.recvfrom(65565))

# disabled promiscuous mode
Expand Down

0 comments on commit 095d09c

Please sign in to comment.