summaryrefslogtreecommitdiff
path: root/Modules/socketmodule.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-03-28 01:18:54 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-03-28 01:18:54 +0100
commit71694d5c8c1846c6ac755bef69d7817f95359ecd (patch)
tree2ecf438ae2dde857ea398f163e31c0fb6c5c7421 /Modules/socketmodule.h
parent95e9cef6f023a1cf365f2f02775badb3a6ac0d82 (diff)
downloadcpython-git-71694d5c8c1846c6ac755bef69d7817f95359ecd.tar.gz
Issue #22117: The socket module uses _PyTime_t timestamp for timeouts
Diffstat (limited to 'Modules/socketmodule.h')
-rw-r--r--Modules/socketmodule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h
index 4b6a10e85a..3cce927e0b 100644
--- a/Modules/socketmodule.h
+++ b/Modules/socketmodule.h
@@ -174,7 +174,7 @@ typedef struct {
PyObject *(*errorhandler)(void); /* Error handler; checks
errno, returns NULL and
sets a Python exception */
- double sock_timeout; /* Operation timeout in seconds;
+ _PyTime_t sock_timeout; /* Operation timeout in seconds;
0.0 means non-blocking */
} PySocketSockObject;