Skip to content

Commit

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

Co-authored-by: Victor Norman
  • Loading branch information
erlend-aasland committed Jun 15, 2022
1 parent 4f26963 commit cdd3984
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 @@ -2076,10 +2076,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 cdd3984

Please sign in to comment.