]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Remove an inaccurate note from `socket.recv` (GH-129733) (#129735)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 6 Feb 2025 17:45:33 +0000 (18:45 +0100)
committerGitHub <noreply@github.com>
Thu, 6 Feb 2025 17:45:33 +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 dd4c2f8317d120dcb461e167f6470ff96eede996..c0b88b8546df79ce66ed00bcf3c98e96ee524fbc 100644 (file)
@@ -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