summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-08-14 05:28:57 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-08-14 05:28:57 (GMT)
commit388c945e9735864bb75f10ecfa22528c91b6a56c (patch)
tree694f5cc12b889c14b38fc0fe7aa03275d1b27acf /Modules
parent3abb372c810c13af4207124c175cfd0a842b5f56 (diff)
downloadcpython-388c945e9735864bb75f10ecfa22528c91b6a56c.zip
cpython-388c945e9735864bb75f10ecfa22528c91b6a56c.tar.gz
cpython-388c945e9735864bb75f10ecfa22528c91b6a56c.tar.bz2
#12725: fix working. Patch by Ben Hayden.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/socketmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index bc11b23..fcdbf8a 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -1808,7 +1808,7 @@ sock_gettimeout(PySocketSockObject *s)
PyDoc_STRVAR(gettimeout_doc,
"gettimeout() -> timeout\n\
\n\
-Returns the timeout in floating seconds associated with 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.");
@@ -4201,7 +4201,7 @@ socket_getdefaulttimeout(PyObject *self)
PyDoc_STRVAR(getdefaulttimeout_doc,
"getdefaulttimeout() -> timeout\n\
\n\
-Returns the default timeout in floating seconds for new socket objects.\n\
+Returns the default timeout in seconds (float) for new socket objects.\n\
A value of None indicates that new socket objects have no timeout.\n\
When the socket module is first imported, the default is None.");
@@ -4231,7 +4231,7 @@ socket_setdefaulttimeout(PyObject *self, PyObject *arg)
PyDoc_STRVAR(setdefaulttimeout_doc,
"setdefaulttimeout(timeout)\n\
\n\
-Set the default timeout in floating seconds for new socket objects.\n\
+Set the default timeout in seconds (float) for new socket objects.\n\
A value of None indicates that new socket objects have no timeout.\n\
When the socket module is first imported, the default is None.");