summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authoroldk <oldk1331@users.noreply.github.com>2018-02-02 08:52:55 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-02-02 08:52:55 (GMT)
commitaa0735f597b072c0eb00404c4d7df359ddc26755 (patch)
treec6ff6cd0d312d35d57b52821df54abc009f95b7a /Modules/socketmodule.c
parent2efb9735899c7c642f3e75a121af82b1679577d3 (diff)
downloadcpython-aa0735f597b072c0eb00404c4d7df359ddc26755.zip
cpython-aa0735f597b072c0eb00404c4d7df359ddc26755.tar.gz
cpython-aa0735f597b072c0eb00404c4d7df359ddc26755.tar.bz2
bpo-32747: Remove trailing spaces in docstrings. (GH-5491)
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 8cc5d14..ab3465a 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -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.");