From acd17e4814938a7d52d3e224816964476c388bb9 Mon Sep 17 00:00:00 2001 From: "Erlend E. Aasland" Date: Wed, 15 Jun 2022 10:00:00 +0200 Subject: [PATCH] gh-93183: Adjust wording in socket docs package => packet Co-authored-by: Victor Norman --- Doc/library/socket.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 1b801955dff17e..c732e7bd96b52c 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -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