From: Gregory P. Smith Date: Thu, 6 Feb 2025 16:39:37 +0000 (-0800) Subject: Remove an inaccurate note from `socket.recv` (GH-129733) X-Git-Tag: v3.14.0a5~86 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ded54c3baa57f6727be809f13633b393241c164a;p=thirdparty%2FPython%2Fcpython.git Remove an inaccurate note from `socket.recv` (GH-129733) Remove an inaccurate note from socket.recv. --- diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index b36acad29ecb..b936a502ca88 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -1668,11 +1668,6 @@ to sockets. See the Unix manual page :manpage:`recv(2)` for the meaning of the optional argument *flags*; it defaults to zero. - .. note:: - - For best match with hardware and network realities, the value of *bufsize* - should be a relatively small power of 2, for example, 4096. - .. versionchanged:: 3.5 If the system call is interrupted and the signal handler does not raise an exception, the method now retries the system call instead of raising