Remove an inaccurate note from socket.recv (GH-129733)

Remove an inaccurate note from socket.recv.
This commit is contained in:
Gregory P. Smith 2025-02-06 08:39:37 -08:00 committed by GitHub
parent e7bc0cd182
commit ded54c3baa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1668,11 +1668,6 @@ to sockets.
See the Unix manual page :manpage:`recv(2)` for the meaning of the optional argument See the Unix manual page :manpage:`recv(2)` for the meaning of the optional argument
*flags*; it defaults to zero. *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 .. versionchanged:: 3.5
If the system call is interrupted and the signal handler does not raise 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 an exception, the method now retries the system call instead of raising