@@ -1808,7 +1808,7 @@ sock_gettimeout(PySocketSockObject *s)
18081808PyDoc_STRVAR (gettimeout_doc ,
18091809"gettimeout() -> timeout\n\
18101810\n\
1811- Returns the timeout in floating seconds associated with socket \n\
1811+ Returns the timeout in seconds (float) associated with socket \n\
18121812operations. A timeout of None indicates that timeouts on socket \n\
18131813operations are disabled." );
18141814
@@ -4201,7 +4201,7 @@ socket_getdefaulttimeout(PyObject *self)
42014201PyDoc_STRVAR (getdefaulttimeout_doc ,
42024202"getdefaulttimeout() -> timeout\n\
42034203\n\
4204- Returns the default timeout in floating seconds for new socket objects.\n\
4204+ Returns the default timeout in seconds (float) for new socket objects.\n\
42054205A value of None indicates that new socket objects have no timeout.\n\
42064206When the socket module is first imported, the default is None." );
42074207
@@ -4231,7 +4231,7 @@ socket_setdefaulttimeout(PyObject *self, PyObject *arg)
42314231PyDoc_STRVAR (setdefaulttimeout_doc ,
42324232"setdefaulttimeout(timeout)\n\
42334233\n\
4234- Set the default timeout in floating seconds for new socket objects.\n\
4234+ Set the default timeout in seconds (float) for new socket objects.\n\
42354235A value of None indicates that new socket objects have no timeout.\n\
42364236When the socket module is first imported, the default is None." );
42374237
0 commit comments