]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Remove an inaccurate note from `socket.recv` (GH-129733) (#129734)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 6 Feb 2025 17:45:28 +0000 (18:45 +0100)
committerGitHub <noreply@github.com>
Thu, 6 Feb 2025 17:45:28 +0000 (09:45 -0800)
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 <greg@krypto.org>
Doc/library/socket.rst

index 9ae0185588f493784a44dcb7d1d9ec74c21225fa..12f95b839a948eff70f3cd5afefd37ee8c454f40 100644 (file)
@@ -1651,11 +1651,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