diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-08-14 08:27:36 +0300 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-08-14 08:27:36 +0300 |
commit | ca5e908c6ed5df85571f2cfe2a27533a780bfbe3 (patch) | |
tree | 98aadb87663f13ac37f3368ddb579a6daa3d6e30 /Modules/socketmodule.c | |
parent | 92be113ba9f588bc6e73a89c192f2172a6c9c2f5 (diff) | |
download | cpython-git-ca5e908c6ed5df85571f2cfe2a27533a780bfbe3.tar.gz |
#12725: fix working. Patch by Ben Hayden.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 76d860cac5..694259b244 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -1784,7 +1784,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."); @@ -4252,7 +4252,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."); @@ -4282,7 +4282,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."); |