summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Modules/socketmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 1444369e1b..92d52d11ce 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -2322,8 +2322,8 @@ sock_detach(PySocketSockObject *s)
PyDoc_STRVAR(detach_doc,
"detach()\n\
\n\
-Close the socket object without closing the underlying file descriptor.\
-The object cannot be used after this call, but the file descriptor\
+Close the socket object without closing the underlying file descriptor.\n\
+The object cannot be used after this call, but the file descriptor\n\
can be reused for other purposes. The file descriptor is returned.");
static int