@@ -1784,7 +1784,7 @@ sock_gettimeout(PySocketSockObject *s)
17841784PyDoc_STRVAR (gettimeout_doc ,
17851785"gettimeout() -> timeout\n\
17861786\n\
1787- Returns the timeout in floating seconds associated with socket \n\
1787+ Returns the timeout in seconds (float) associated with socket \n\
17881788operations. A timeout of None indicates that timeouts on socket \n\
17891789operations are disabled." );
17901790
@@ -4252,7 +4252,7 @@ socket_getdefaulttimeout(PyObject *self)
42524252PyDoc_STRVAR (getdefaulttimeout_doc ,
42534253"getdefaulttimeout() -> timeout\n\
42544254\n\
4255- Returns the default timeout in floating seconds for new socket objects.\n\
4255+ Returns the default timeout in seconds (float) for new socket objects.\n\
42564256A value of None indicates that new socket objects have no timeout.\n\
42574257When the socket module is first imported, the default is None." );
42584258
@@ -4282,7 +4282,7 @@ socket_setdefaulttimeout(PyObject *self, PyObject *arg)
42824282PyDoc_STRVAR (setdefaulttimeout_doc ,
42834283"setdefaulttimeout(timeout)\n\
42844284\n\
4285- Set the default timeout in floating seconds for new socket objects.\n\
4285+ Set the default timeout in seconds (float) for new socket objects.\n\
42864286A value of None indicates that new socket objects have no timeout.\n\
42874287When the socket module is first imported, the default is None." );
42884288
0 commit comments