diff Modules/socketmodule.c @ 71863:dfe6f0a603d2 2.7

#12725: fix working. Patch by Ben Hayden.
author Ezio Melotti <ezio.melotti@gmail.com>
date Sun, 14 Aug 2011 08:27:36 +0300
parents 48743ad2d2ef
children ff6adb867f40
line wrap: on
line diff
--- a/Modules/socketmodule.c	Sat Aug 13 00:39:29 2011 +0200
+++ b/Modules/socketmodule.c	Sun Aug 14 08:27:36 2011 +0300
@@ -1784,7 +1784,7 @@
 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 @@
 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 @@
 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.");