mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
bpo-32747: Remove trailing spaces in docstrings. (GH-5491)
This commit is contained in:
parent
2efb973589
commit
aa0735f597
12 changed files with 44 additions and 44 deletions
|
|
@ -2661,8 +2661,8 @@ sock_gettimeout(PySocketSockObject *s)
|
|||
PyDoc_STRVAR(gettimeout_doc,
|
||||
"gettimeout() -> timeout\n\
|
||||
\n\
|
||||
Returns the timeout in seconds (float) associated with socket \n\
|
||||
operations. A timeout of None indicates that timeouts on socket \n\
|
||||
Returns the timeout in seconds (float) associated with socket\n\
|
||||
operations. A timeout of None indicates that timeouts on socket\n\
|
||||
operations are disabled.");
|
||||
|
||||
/* s.setsockopt() method.
|
||||
|
|
@ -2752,7 +2752,7 @@ setsockopt(level, option, value: buffer)\n\
|
|||
setsockopt(level, option, None, optlen: int)\n\
|
||||
\n\
|
||||
Set a socket option. See the Unix manual for level and option.\n\
|
||||
The value argument can either be an integer, a string buffer, or \n\
|
||||
The value argument can either be an integer, a string buffer, or\n\
|
||||
None, optlen.");
|
||||
|
||||
|
||||
|
|
@ -3310,8 +3310,8 @@ sock_recv_into(PySocketSockObject *s, PyObject *args, PyObject *kwds)
|
|||
PyDoc_STRVAR(recv_into_doc,
|
||||
"recv_into(buffer, [nbytes[, flags]]) -> nbytes_read\n\
|
||||
\n\
|
||||
A version of recv() that stores its data into a buffer rather than creating \n\
|
||||
a new string. Receive up to buffersize bytes from the socket. If buffersize \n\
|
||||
A version of recv() that stores its data into a buffer rather than creating\n\
|
||||
a new string. Receive up to buffersize bytes from the socket. If buffersize\n\
|
||||
is not specified (or 0), receive up to the size available in the given buffer.\n\
|
||||
\n\
|
||||
See recv() for documentation about the flags.");
|
||||
|
|
@ -5772,7 +5772,7 @@ Convert a 16-bit unsigned integer from network to host byte order.\n\
|
|||
Note that in case the received integer does not fit in 16-bit unsigned\n\
|
||||
integer, but does fit in a positive C int, it is silently truncated to\n\
|
||||
16-bit unsigned integer.\n\
|
||||
However, this silent truncation feature is deprecated, and will raise an \n\
|
||||
However, this silent truncation feature is deprecated, and will raise an\n\
|
||||
exception in future versions of Python.");
|
||||
|
||||
|
||||
|
|
@ -5843,7 +5843,7 @@ Convert a 16-bit unsigned integer from host to network byte order.\n\
|
|||
Note that in case the received integer does not fit in 16-bit unsigned\n\
|
||||
integer, but does fit in a positive C int, it is silently truncated to\n\
|
||||
16-bit unsigned integer.\n\
|
||||
However, this silent truncation feature is deprecated, and will raise an \n\
|
||||
However, this silent truncation feature is deprecated, and will raise an\n\
|
||||
exception in future versions of Python.");
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue