From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 6 Feb 2025 17:45:33 +0000 (+0100) Subject: [3.12] Remove an inaccurate note from `socket.recv` (GH-129733) (#129735) X-Git-Tag: v3.12.10~236 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=de9380558b868258b9aed09beff4b64d8099b1b2;p=thirdparty%2FPython%2Fcpython.git [3.12] Remove an inaccurate note from `socket.recv` (GH-129733) (#129735) Remove an inaccurate note from `socket.recv` (GH-129733) Remove an inaccurate note from socket.recv. (cherry picked from commit ded54c3baa57f6727be809f13633b393241c164a) Co-authored-by: Gregory P. Smith --- diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index dd4c2f8317d1..c0b88b8546df 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -1646,11 +1646,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