]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove an inaccurate note from `socket.recv` (GH-129733)
authorGregory P. Smith <greg@krypto.org>
Thu, 6 Feb 2025 16:39:37 +0000 (08:39 -0800)
committerGitHub <noreply@github.com>
Thu, 6 Feb 2025 16:39:37 +0000 (16:39 +0000)
Remove an inaccurate note from socket.recv.

Doc/library/socket.rst

index b36acad29ecb009849278ed7208f951d37e835b5..b936a502ca886e5ebc356a5cfb1f4378aefa6566 100644 (file)
@@ -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